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