Esempio n. 1
0
 /*
  * called by manager
  */
 public void startTurn()
 {
     // allow the current player to throw a dice, or do any possible action at this time
     // ex. trade, mortgage, charity, etc.
     // STATUS: WAITING FOR DICE THROW
     GUImanager.enableGlowofPlayer(currentPlayerIndex);
     GUImanager.DisableButton(BUTTON_TYPE.END_TURN);
     GUImanager.EnableButton(BUTTON_TYPE.THROW_DICE);
     // after Dice throw:
     // STATUS: AFTER DICE THROW
     // here, disable dice throw, unless double
     // events should be fired. Buy land, pull card, etc.
     // also, all options before the hrow should be open.
     // enable the button to end the turn
 }