C# Class Project2.GameStateManager

Implements a Finite State Machine to control game state flow. State should not be directly accessable or assignable - state transitions should be communicated via events only.
Inheritance: SharpDX.Toolkit.GameSystem, IUpdateable
Mostra file Open project: nuclearpidgeon/graphicsproj2

Public Methods

Method Description
Instance ( Project2Game game ) : GameStateManager

This isn't really the singleton pattern, but eh.

Protected Methods

Method Description
GameStateManager ( Project2Game game ) : System

Private Methods

Method Description
IUpdateable ( SharpDX.Toolkit.GameTime gameTime ) : void

Method Details

GameStateManager() protected method

protected GameStateManager ( Project2Game game ) : System
game Project2Game
return System

Instance() public static method

This isn't really the singleton pattern, but eh.
public static Instance ( Project2Game game ) : GameStateManager
game Project2Game
return GameStateManager