예제 #1
0
파일: OsuTK.cs 프로젝트: Joakim432710/OsuTK
 public void SetGameState(GameState state)
 {
     CurrentGameStateObject.Unload();
     CurrentGameStateObject = GameStateObjects[state]; //TODO: Ensure game is always in valid state
     CurrentGameState = state;
     CurrentGameStateObject.Load(this);
 }
예제 #2
0
파일: OsuTK.cs 프로젝트: Joakim432710/OsuTK
 public GameStateObject GetGameStateObject(GameState state)
 {
     return GameStateObjects[state];
 }
예제 #3
0
 public bool Equals(GameState obj)
 {
     return Identifier == obj.Identifier;
 }