Пример #1
0
        public override void Receive(Soldier soldier)
        {
            soldier.CurrentTile?.strategy.Discharge(soldier);
            Squad squad = soldier.GetParent <Squad>();

            squad.Tracker.Increment();
            soldier.GetParent().RemoveChild(soldier);
            squad.EndTurn();
            soldier.QueueFree();
        }
Пример #2
0
 public override void Receive(Soldier soldier)
 {
     MayBeAttack(soldier);
     base.Receive(soldier);
     soldier.GetParent <Squad>().MakeReRoll();
 }