C# Class PsmFramework.AppManager

Inheritance: IDisposablePlus
ファイルを表示 Open project: artwallace/PsmFramework Class Usage Examples

Public Properties

Property Type Description
AnalogStickDeadZone System.Single

Private Properties

Property 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

Public Methods

Method 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

Method 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 method

public AppLoop ( ) : void
return void

AppManager() public method

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

CleanupPreviousMode() public method

public CleanupPreviousMode ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FreeMemory() public method

public FreeMemory ( ) : void
return void

GoToMode() public method

public GoToMode ( CreateModeDelegate factory ) : void
factory CreateModeDelegate
return void

GoToModeThenReturn() public method

public GoToModeThenReturn ( CreateModeDelegate factory, ModeBase returnMode ) : void
factory CreateModeDelegate
returnMode PsmFramework.Modes.ModeBase
return void

GoToOptionsScreenMode() public method

public GoToOptionsScreenMode ( ) : void
return void

GoToTitleScreenMode() public method

public GoToTitleScreenMode ( ) : void
return void

InitializeCurrentMode() public method

public InitializeCurrentMode ( ) : void
return void

ReturnToMode() public method

public ReturnToMode ( ) : void
return void

SetRunStateToEnding() public method

public SetRunStateToEnding ( ) : void
return void

SetRunStateToInitializing() public method

public SetRunStateToInitializing ( ) : void
return void

SetRunStateToPaused() public method

public SetRunStateToPaused ( ) : void
return void

SetRunStateToRunning() public method

public SetRunStateToRunning ( ) : void
return void

Property Details

AnalogStickDeadZone public_oe property

public Single,System AnalogStickDeadZone
return System.Single