Ejemplo n.º 1
0
 /**
  * Method that changes the turn for all managers
  */
 private void ChangeTurnColor()
 {
     checkMateManager.ChangeTurn();
     drawManager.ChangeTurn();
     scoreManager.ChangeTurn();
     if (turnColor == ChessPieceType.Color.White)
     {
         turnColor = ChessPieceType.Color.Black;
     }
     else
     {
         turnColor = ChessPieceType.Color.White;
     }
 }