Exemplo n.º 1
0
        internal void LoadOnce(NaviState naviState)
        {
            naviState.ItemRefresh();
            naviState.TargetRefresh();

            runOnce = true;
        }
Exemplo n.º 2
0
        internal void Complete(NaviState naviState, GameTime gameTime)
        {
            Ability temp = (Ability)naviState.currentAction;

            if (naviState.actor.mana < temp.cost)
            {
                naviState.SkillsRefresh();
                naviState.currentAction = new SkillsMenuSwitcher();
                naviState.currentState  = 4;
            }
            else
            {
                naviState.TargetRefresh();
                naviState.currentState = 6;
            }

            naviState.state[1]         = false;
            naviState.previousState[1] = false;

            runOnce = false;
        }
Exemplo n.º 3
0
        internal void Complete(NaviState naviState)
        {
            int tempButtons = naviState.inventoryBox.buttons.Count;
            int tempItems   = naviState.allItems.Count;

            if (heldCount == 0)
            {
                naviState.ItemRefresh();
                naviState.currentState = 3;

                naviState.currentAction = null;
            }
            else
            {
                naviState.TargetRefresh();
                naviState.currentState = 6;
            }

            naviState.state[1]         = false;
            naviState.previousState[1] = false;

            runOnce = false;
        }