Пример #1
0
 void Start()
 {
     startingPhase = true;
     openingPhase  = false;
     setupPhase    = false;
     battlePhase   = false;
     movementPhase = false;
     phaseButton.EndSetupText();
     buttonColour.LockAllButtons();
     deadPlayer = false;
 }
Пример #2
0
 void CloseGame()
 {
     // locks all buttons
     buttonColour.LockAllButtons();
     buttonColour.LockButton("instructions");
     // changes player turn so that its not player 1 - deactivating OnMouseDown countrySelector
     if (playerTurn.CurrentPlayer() == 1)
     {
         playerTurn.NextPlayer(false);
     }
 }