Exemplo n.º 1
0
 //This is an intermediary function that is called when the buttons are pressed.
 //It is assigned to these buttons dynamically by the function above.
 public void AbilityChosen(Ability ability)
 {
     current.AbilityChosen(ability);
     MakeAbilityButtonsDisappear();
 }