示例#1
0
 public static void setSelection(LinkedList<Button> a_list, Button.State a_selection)
 {
     foreach (Button l_button in a_list) {
         l_button.p_state = a_selection;
     }
 }
示例#2
0
文件: GUI.cs 项目: Joxe/TacticsRPG
 private void waitClick(Button a_button)
 {
     toggleTiles(1);
     //m_activeBtnList = null;
     m_state = GuiState.SelectFacing;
 }
示例#3
0
文件: GUI.cs 项目: Joxe/TacticsRPG
 private void useAbility(Button a_button)
 {
     toggleTiles(m_gameState.getSelectedChampion().getAbility(a_button.p_buttonText.Split(':')[0]).getRange());
     m_state = GuiState.UseAbility;
 }
示例#4
0
文件: GUI.cs 项目: Joxe/TacticsRPG
 private void moveClick(Button a_button)
 {
     if (a_button.p_state == Button.State.Toggled) {
         return;
     }
     toggleTiles(m_gameState.getSelectedChampion().getStat("MoveLeft"));
     m_state = GuiState.Move;
 }
示例#5
0
文件: GUI.cs 项目: Joxe/TacticsRPG
 private void gameStartClick(Button a_button)
 {
     m_gameState.startGame();
 }
示例#6
0
文件: GUI.cs 项目: Joxe/TacticsRPG
 private void actionClick(Button a_button)
 {
     //m_activeBtnList = m_actionBtnList;
     m_state = GuiState.ActionMenu;
 }