Exemplo n.º 1
0
 /// <summary>
 /// User entered a player in the VillageTextBox
 /// </summary>
 private void SelectedVillage_PlayerSelected(object sender, PlayerEventArgs e)
 {
     SetQuickFinder(new DetailsCommand(DetailsDisplayEnum.Player, e.SelectedPlayer, e.Tool));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Catch the world player selected event
 /// </summary>
 private void EventPublisher_PlayerSelected(object sender, PlayerEventArgs e)
 {
     switch (e.Tool)
     {
         case VillageTools.SelectVillage:
         case VillageTools.PinPoint:
             SetQuickFinder(e.SelectedPlayer, e.Tool);
             break;
     }
 }