Exemplo n.º 1
0
 protected override bool doInput(MenuButton buttonSelected)
 {
     if (buttonSelected.Text == "Resume")
     {
         return true;
     }
     return false;
 }
Exemplo n.º 2
0
 protected override bool doInput(MenuButton buttonSelected)
 {
     if(buttonSelected.Text.Equals("Start") && this.currentPlayer > 1)
     {
         return true;
     }
     else if (currentPlayer > 2)
     {
         return true;
     }
     else if (buttonSelected.Text == "BMO")
     {
         pm.SetPlayer(currentPlayer, PlayerManager.Character.BMO);
         this.currentPlayer++;
     }
     else if (buttonSelected.Text == "NEPTR")
     {
         pm.SetPlayer(currentPlayer, PlayerManager.Character.NEPTR);
         this.currentPlayer++;
     }
     return false;
 }
Exemplo n.º 3
0
 protected abstract bool doInput(MenuButton buttonClicked);