public static void EvoBlockBuildEvent(Button button)
 {
     if (button.Active)
     {
         Game.input.constructionState = button.ButtonArgs1;
     }
 }
Beispiel #2
0
 // Delegate for Quit Button Press
 public void OnQuitButton(Button button)
 {
     Game.game.screenManager.TransitionScreen("Intro");
 }
 public void Play(Button button)
 {
     if (duration > 0.25)
         Game.game.screenManager.TransitionScreen("Game");
 }
 public void Online(Button button)
 {
     if (duration > 0.25)
         Game.game.screenManager.TransitionScreen("Multiplayer");
 }
 public void Exit(Button button)
 {
     if (duration > 0.25)
         Game.game.Exit();
 }