Ejemplo n.º 1
0
 public override void ClickReleased()
 {
     if (clickedButton != null)
     {
         clickedButton.ClickReleased();
         clickedButton = null;
     }
     else if (clickedPlayer != null)
     {
         clickedPlayer.ClickReleased();
         modifier = ButtonModifier.None;
     }
 }
Ejemplo n.º 2
0
 public override void ClickReleased()
 {
     if (clickedButton != null)
     {
         clickedButton.ClickReleased();
         clickedButton = null;
     }
     else if (clickedPlayer != null)
     {
         clickedPlayer.ClickReleased();
     }
     else
     {
         ResetSelection();
         if (PlayersSelectionChangedEvent != null)
         {
             PlayersSelectionChangedEvent(SelectedPlayers);
         }
     }
 }