public void Execute()
 {
     GameStateManager.GetInstance().Add(new MainMenuState(graphics, graphicsManger));
 }
Beispiel #2
0
 public void Execute()
 {
     GameStateManager.GetInstance().Add(new DoodleJumpState(graphics, graphicsManager));
 }
Beispiel #3
0
 public void Execute()
 {
     audio.PlaySound("restart");
     GameStateManager.GetInstance().Remove();
     GameStateManager.GetInstance().Add(new PlayState(_graphics, graphicsManager));
 }
 public void Execute()
 {
     name.name = new string(name.arr);
     GameStateManager.GetInstance().Remove();
     GameStateManager.GetInstance().Add(new LeaderBoardState(graph, name, gman, _audio));
 }
 public void Execute()
 {
     GameStateManager.GetInstance().Clear();
 }