Example #1
0
        public virtual void ControlHandle(Key k)
        {
            switch (k)
            {
            case Key.Circle:

                bool clear = BattleState.Screen.User.ActOnSelection(Selected);

                if (clear)
                {
                    BattleState.Commanding.WaitingToResolve = true;
                    BattleState.ClearControl();
                }
                else
                {
                    BattleState.Screen.PopControl();
                }

                break;

            case Key.X:
                BattleState.Screen.PopControl();
                break;

            default:
                break;
            }
        }