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; } }
private void waitClick(Button a_button) { toggleTiles(1); //m_activeBtnList = null; m_state = GuiState.SelectFacing; }
private void useAbility(Button a_button) { toggleTiles(m_gameState.getSelectedChampion().getAbility(a_button.p_buttonText.Split(':')[0]).getRange()); m_state = GuiState.UseAbility; }
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; }
private void gameStartClick(Button a_button) { m_gameState.startGame(); }
private void actionClick(Button a_button) { //m_activeBtnList = m_actionBtnList; m_state = GuiState.ActionMenu; }