Exemple #1
0
    private void CreateMainMenu()
    {
        menuTrackScene = TrackFactory.CreateMainMenuTrack(gameStats.testMainMenuTrackScene);
        MainMenuModelView menuModelView = UIFactory.CreateMainMenuModelView(canvas);

        menuModelView.OnStart += HandleGameCreation;
        menuModelView.OnExit  += HandleExitGame;
    }