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(); }
public void AddAction(BattleAction action) { }
public bool ActValid(BattleAction action, UnitsStack stack, params UnitsStack[] stacks) { return(action.Validate(this, stack, stacks)); }