public override void DoPhaseEffects(Game g) { foreach (Player p in g.GetPlayers()) { if (g.ActivePlayer.ID != p.ID) { g.MyExecutor.Do(new CommandSetBlockingState(p.ID)); SetBlockers sb = (SetBlockers)g.InputHandlers[p.ID].CurrentInputState; while (!sb.IsDone) { sb.PromptAndRequestAction(); } g.MyExecutor.Do(new CommandGroup( new CommandRemoveTopInputStates(p.ID), new CommandAdvancePhase())); } } g.MyExecutor.Do(new CommandAdvancePhase()); }
public override void Do(Game g) { sb = new SetBlockers(); g.InputHandlers[Player.ID].CurrentInputState = sb; }