コード例 #1
0
 public static void goBeyondBound()
 {
     fuel -= 2;
     if (ScoreBoard.CurrentFuel() < 0)
     {
         ScoreBoard.reload();
         Application.LoadLevel("WinScene");
     }
     Displayui.refresh();
 }
コード例 #2
0
 public static void fireTank()
 {
     fuel -= 5;
     Displayui.refresh();
 }
コード例 #3
0
 public static void TankZombie()
 {
     score++;
     Displayui.refresh();
 }
コード例 #4
0
 public static void fire()
 {
     fuel--;
     Displayui.refresh();
 }
コード例 #5
0
 // Update is called once per frame
 public static void DestoyOneZombie()
 {
     score++;
     fuel++;
     Displayui.refresh();
 }