Example #1
0
 public string CheckButtons()
 {
     if (PlayButton.ButtonClicked())
     {
         return("Adventure");
     }
     if (ExitButton.ButtonClicked())
     {
         return("Exit");
     }
     if (ShopButton.ButtonClicked())
     {
         return("Shop");
     }
     if (ChoosePartyButton.ButtonClicked())
     {
         return("PartySelect");
     }
     if (NewPartyButton.ButtonClicked())
     {
         return("NewParty");
     }
     else
     {
         return("MainMenu");
     }
 }