C# 클래스 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.
상속: SharpDX.Toolkit.GameSystem, IUpdateable
파일 보기 프로젝트 열기: nuclearpidgeon/graphicsproj2

공개 메소드들

메소드 설명
Instance ( Project2Game game ) : GameStateManager

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

보호된 메소드들

메소드 설명
GameStateManager ( Project2Game game ) : System

비공개 메소드들

메소드 설명
IUpdateable ( SharpDX.Toolkit.GameTime gameTime ) : void

메소드 상세

GameStateManager() 보호된 메소드

protected GameStateManager ( Project2Game game ) : System
game Project2Game
리턴 System

Instance() 공개 정적인 메소드

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