コード例 #1
0
 public void enableInitialGUIandStart()
 {
     GUImanager.EnableButton(BUTTON_TYPE.END_TURN);
     GUImanager.EnableButton(BUTTON_TYPE.THROW_DICE);
     GUImanager.setPlayerListGUI(true);
     for (int i = 0; i < GameInfo.playersNo; i++)
     {
         players[i].calculateIncome();
     }
     startTurn();
 }
コード例 #2
0
 private void removeInitialGUI()
 {
     GUImanager.DisableButton(BUTTON_TYPE.END_TURN);
     GUImanager.DisableButton(BUTTON_TYPE.THROW_DICE);
     GUImanager.setPlayerListGUI(false);
 }