Ejemplo n.º 1
0
        public void HighlightCommand(BattleExtraCommand commandType)
        {
            UnselectAllCommandButtons();
            switch (commandType)
            {
                case BattleExtraCommand.Summary:
                    summaryBtn.SelectSelf();
                    promptText.text = "View this Pokémon's stats.";
                    break;

                case BattleExtraCommand.Switch:
                    switchBtn.SelectSelf();
                    promptText.text = "Switch into this Pokémon.";
                    break;

                case BattleExtraCommand.Moves:
                    movesBtn.SelectSelf();
                    promptText.text = "View this Pokémon's moves.";
                    break;

                case BattleExtraCommand.Cancel:
                    cancelBtn.SelectSelf();
                    promptText.text = "Go back to party.";
                    break;

                default:
                    break;
            }
        }
Ejemplo n.º 2
0
 public void SwitchSelectedPartyCommandTo(BattleExtraCommand selected)
 {
     for (int i = 0; i < partyCmdBtns.Count; i++)
     {
         SelectCmdExtraBtn(partyCmdBtns[i], partyCmdBtns[i].commandType == selected);
     }
 }
Ejemplo n.º 3
0
 public void SwitchSelectedPartyCommandTo(BattleExtraCommand selected)
 {
     partyPanel.HighlightCommand(selected);
 }
Ejemplo n.º 4
0
 private void CreateCmdExtraBtn(BattleExtraCommand commandType, BTLUI_ButtonCmdExtra btn)
 {
     btn.commandType = commandType;
     btn.txt.text    = commandType.ToString();
 }
Ejemplo n.º 5
0
 public virtual void SwitchSelectedPartyCommandTo(BattleExtraCommand selected)
 {
 }