Beispiel #1
0
    private void startGame(GameFacade game)
    {
        exitGame();

        _activeGame = Instantiate <GameFacade>(game, activeGameContainer.transform);

        // TODO temporary
        _console.setBetSteps(betStepsProvider?.value);

        _console.handleGameEntered(_activeGame.gameId);

        returnToActiveGame();

        onGameStarted?.Invoke(this, EventArgs.Empty);
    }