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
Afficher le fichier Open project: nuclearpidgeon/graphicsproj2

Méthodes publiques

Méthode Description
Instance ( Project2Game game ) : GameStateManager

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

Méthodes protégées

Méthode Description
GameStateManager ( Project2Game game ) : System

Private Methods

Méthode Description
IUpdateable ( SharpDX.Toolkit.GameTime gameTime ) : void

Method Details

GameStateManager() protected méthode

protected GameStateManager ( Project2Game game ) : System
game Project2Game
Résultat System

Instance() public static méthode

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