Пример #1
0
        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()));
        }