GameStateManager
<<interface>>
Methods
+ Switch(state : GameState)
+ Pop() : GameState
+ Push(state : GameState)
+ Peek() : GameState
GameState
<<interface>>
Methods
+ Entered()
+ Leaving()
+ Obscuring()
+ Revealed()
Drawable
<<interface>>
Methods
+ Draw(elapsedFrameSeconds : float)
Updateable
<<interface>>
Methods
+ Update(elapsedSeconds : float)
DirectRenderingGameStateManager
<<interface>>
Attributes
Methods
- currentStates : std::stack<GameState>
- activeDrawables : std::vector<Drawable>
- activeUpdateables : std::vector<Updateable>
+ Switch(state : GameState)
+ Pop() : GameState
+ Push(state : GameState)
+ Peek() : GameState
+ Update(elapsedSeconds : float)
+ Draw(elapsedFrameSeconds : float)