Ejemplo n.º 1
0
 public void MovementDoneHandler(Move move)
 {
     MatchManager.ApplyMove(move);
     updatedBoardEvent.Raise();
     if (MatchManager.GameOver())
     {
         if (MatchManager.IsDraw())
         {
             gameOverEvent.Raise(null);
         }
         else
         {
             gameOverEvent.Raise(MatchManager.ColorTurn.GetNextPlayerColor());
         }
     }
 }