C# Class PsmFramework.AppManager

Inheritance: IDisposablePlus
Afficher le fichier Open project: artwallace/PsmFramework Class Usage Examples

Méthodes publiques

Свойство Type Description
AnalogStickDeadZone System.Single

Private Properties

Свойство Type Description
CalculateDevicePpi System.Single
CalculateDeviceSize System.Single
CalculateFramesPerSecond void
CalculateTimeSinceLastFrame void
CalculateUpdateTime void
Cleanup void
CleanupGraphics void
CleanupInput void
CleanupModes void
CleanupOptions void
CleanupRandomGenerator void
CleanupRunState void
CleanupTimers void
CompleteRenderTimer void
CompleteUpdateTimer void
Initialize void
InitializeGraphics void
InitializeInput void
InitializeModes void
InitializeOptions void
InitializeRandomGenerator void
InitializeRunState void
InitializeTimers void
PauseInGameTimer void
RefreshInputData void
Render void
ResumeInGameTimer void
StartRenderTimer void
StartUpdateTimer void
Update void
UpdateRunState void

Méthodes publiques

Méthode Description
AppLoop ( ) : void
AppManager ( AppOptionsBase options, GraphicsContext gc, CreateModeDelegate defaultTitleScreen = null, CreateModeDelegate defaultOptionsScreen = null ) : System
CleanupPreviousMode ( ) : void
Dispose ( ) : void
FreeMemory ( ) : void
GoToMode ( CreateModeDelegate factory ) : void
GoToModeThenReturn ( CreateModeDelegate factory, ModeBase returnMode ) : void
GoToOptionsScreenMode ( ) : void
GoToTitleScreenMode ( ) : void
InitializeCurrentMode ( ) : void
ReturnToMode ( ) : void
SetRunStateToEnding ( ) : void
SetRunStateToInitializing ( ) : void
SetRunStateToPaused ( ) : void
SetRunStateToRunning ( ) : void

Private Methods

Méthode Description
CalculateDevicePpi ( ) : System.Single
CalculateDeviceSize ( ) : System.Single
CalculateFramesPerSecond ( ) : void
CalculateTimeSinceLastFrame ( ) : void
CalculateUpdateTime ( ) : void
Cleanup ( ) : void
CleanupGraphics ( ) : void
CleanupInput ( ) : void
CleanupModes ( ) : void
CleanupOptions ( ) : void
CleanupRandomGenerator ( ) : void
CleanupRunState ( ) : void
CleanupTimers ( ) : void
CompleteRenderTimer ( ) : void
CompleteUpdateTimer ( ) : void
Initialize ( AppOptionsBase options, GraphicsContext gc, CreateModeDelegate defaultTitleScreen, CreateModeDelegate defaultOptionsScreen ) : void
InitializeGraphics ( GraphicsContext gc ) : void
InitializeInput ( ) : void
InitializeModes ( CreateModeDelegate defaultTitleScreen, CreateModeDelegate defaultOptionsScreen ) : void
InitializeOptions ( AppOptionsBase options ) : void
InitializeRandomGenerator ( ) : void
InitializeRunState ( ) : void
InitializeTimers ( ) : void
PauseInGameTimer ( ) : void
RefreshInputData ( ) : void
Render ( ) : void
ResumeInGameTimer ( ) : void
StartRenderTimer ( ) : void
StartUpdateTimer ( ) : void
Update ( ) : void
UpdateRunState ( ) : void

Method Details

AppLoop() public méthode

public AppLoop ( ) : void
Résultat void

AppManager() public méthode

public AppManager ( AppOptionsBase options, GraphicsContext gc, CreateModeDelegate defaultTitleScreen = null, CreateModeDelegate defaultOptionsScreen = null ) : System
options AppOptionsBase
gc GraphicsContext
defaultTitleScreen CreateModeDelegate
defaultOptionsScreen CreateModeDelegate
Résultat System

CleanupPreviousMode() public méthode

public CleanupPreviousMode ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FreeMemory() public méthode

public FreeMemory ( ) : void
Résultat void

GoToMode() public méthode

public GoToMode ( CreateModeDelegate factory ) : void
factory CreateModeDelegate
Résultat void

GoToModeThenReturn() public méthode

public GoToModeThenReturn ( CreateModeDelegate factory, ModeBase returnMode ) : void
factory CreateModeDelegate
returnMode PsmFramework.Modes.ModeBase
Résultat void

GoToOptionsScreenMode() public méthode

public GoToOptionsScreenMode ( ) : void
Résultat void

GoToTitleScreenMode() public méthode

public GoToTitleScreenMode ( ) : void
Résultat void

InitializeCurrentMode() public méthode

public InitializeCurrentMode ( ) : void
Résultat void

ReturnToMode() public méthode

public ReturnToMode ( ) : void
Résultat void

SetRunStateToEnding() public méthode

public SetRunStateToEnding ( ) : void
Résultat void

SetRunStateToInitializing() public méthode

public SetRunStateToInitializing ( ) : void
Résultat void

SetRunStateToPaused() public méthode

public SetRunStateToPaused ( ) : void
Résultat void

SetRunStateToRunning() public méthode

public SetRunStateToRunning ( ) : void
Résultat void

Property Details

AnalogStickDeadZone public_oe property

public Single,System AnalogStickDeadZone
Résultat System.Single