C# Class Danmaku_no_Kyojin.Controls.GameStateManager

Inheritance: Microsoft.Xna.Framework.GameComponent
显示文件 Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Public Methods

Method Description
ChangeState ( GameState newState ) : void
GameStateManager ( Microsoft.Xna.Framework.Game game ) : System
Initialize ( ) : void
PopState ( ) : void
PushState ( GameState newState ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
AddState ( GameState newState ) : void
RemoveState ( ) : void

Method Details

ChangeState() public method

public ChangeState ( GameState newState ) : void
newState GameState
return void

GameStateManager() public method

public GameStateManager ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System

Initialize() public method

public Initialize ( ) : void
return void

PopState() public method

public PopState ( ) : void
return void

PushState() public method

public PushState ( GameState newState ) : void
newState GameState
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void