public override void DoPhaseEffects(Game g) { g.MyExecutor.Do(new CommandSetAttackingState(g.ActivePlayer.ID)); SetAttackers sb = (SetAttackers)g.InputHandlers[g.ActivePlayer.ID].CurrentInputState; while (!sb.IsDone) { sb.PromptAndRequestAction(); } g.MyExecutor.Do(new CommandGroup( new CommandRemoveTopInputStates(g.ActivePlayer.ID), new CommandAdvancePhase())); }
public override void Do(Game g) { sa = new SetAttackers(); g.InputHandlers[Player.ID].CurrentInputState = sa; }