public void OnTroopDeath(object sender, TroopDeathEventArgs args)
 {
     this.troops.Remove(args.Name);
 }
예제 #2
0
 public void OnTroopDeath(object sender, TroopDeathEventArgs args)
 {
     this.KingAttacked -= args.Respond;
 }
예제 #3
0
 private void OnTroopDeath(TroopDeathEventArgs args)
 {
     this.TroopDeath?.Invoke(this, args);
 }