Пример #1
0
        public void Act(BattleAction action, UnitsStack stack, params UnitsStack[] stacks)
        {
            action.Act(this, stack, stacks);
            stack.Refresh();
            foreach (var s in stacks)
            {
                s.Refresh();
            }
            UpdateInitiativeScales();

            if (!CurrentRound.IsFinished)
            {
                return;
            }

            ++Round;
            foreach (var s in Stacks)
            {
                s.UpdateModifiers();
                s.Refresh();
            }
            UpdateInitiativeScales();
        }
Пример #2
0
 public void AddAction(BattleAction action)
 {
 }
Пример #3
0
 public bool ActValid(BattleAction action, UnitsStack stack, params UnitsStack[] stacks)
 {
     return(action.Validate(this, stack, stacks));
 }