コード例 #1
0
 public static void EvoBlockBuildEvent(Button button)
 {
     if (button.Active)
     {
         Game.input.constructionState = button.ButtonArgs1;
     }
 }
コード例 #2
0
ファイル: GUI.cs プロジェクト: GoodSky/derp-adventure
 // Delegate for Quit Button Press
 public void OnQuitButton(Button button)
 {
     Game.game.screenManager.TransitionScreen("Intro");
 }
コード例 #3
0
 public void Play(Button button)
 {
     if (duration > 0.25)
         Game.game.screenManager.TransitionScreen("Game");
 }
コード例 #4
0
 public void Online(Button button)
 {
     if (duration > 0.25)
         Game.game.screenManager.TransitionScreen("Multiplayer");
 }
コード例 #5
0
 public void Exit(Button button)
 {
     if (duration > 0.25)
         Game.game.Exit();
 }