Exemplo n.º 1
0
 public void ChangeToGameOverState(GameOverInfo gameOverInfo)
 {
     gameStateMachine.ChangeGameState(GameStateEnum.GAME_OVER);
     if (localPlayerID != gameOverInfo.lostPlayerID)
     {
         uIService.ShowGameOverUI("******* You Win!!!!!! ******");
     }
     else
     {
         uIService.ShowGameOverUI(gameOverInfo.reasonToLose);
     }
 }