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());
        }
Beispiel #2
0
        public override void Do(Game g)
        {
            sb = new SetBlockers();

            g.InputHandlers[Player.ID].CurrentInputState = sb;
        }