protected void OnDeath(SoldierArgs args)
 {
     SoldierDead?.Invoke(this, args);
 }
 public void HandleDeadSoldier(object sender, SoldierArgs args)
 {
     this.Remove(args.Soldier);
 }
Beispiel #3
0
 public void OnSoldierDeath(object sender, SoldierArgs args)
 {
     this.KingAttacked -= args.OnKingAttack;
 }