public void SetGameState(GameState gs)
 {
     GameState = gs;
     PopulateRoundInfo();
     ScoreNewBonusRoundCommand.RaiseCanExecuteChanged();
     FinishGameCommand.RaiseCanExecuteChanged();
 }
Example #2
0
        public ActionResult FinishGame()
        {
            var finish_command = new FinishGameCommand();

            finish_command.player_id = _player_identifier.get_player_identifier();
            _bus.send(finish_command);

            return(RedirectToAction("Index", "Home"));
        }
Example #3
0
 private void Awake()
 {
     FinishGameCommand = GetComponent <FinishGameCommand>();
 }