Ejemplo n.º 1
0
 private void ShowEndGameText()
 {
     if (gameState == GameState.WIN)
     {
         endGameText.text  = WIN_TEXT;
         endGameText.color = DARK_GREEN;
         GridGenerator.ClearCells();
     }
     else if (gameState == GameState.LOSE)
     {
         endGameText.text  = LOSE_TEXT;
         endGameText.color = DARK_RED;
         GridGenerator.RevealMines();
     }
 }