Example #1
0
    public void Init(GameManager gameManager)
    {
        this.gameManager = gameManager;
        curMenu          = 0;

        //Initialize the sub-menus
        elementSelectMenu.Init(gameManager, this);
        gestureCalibrateMenu.Init(gameManager, this);

        //Initialize the buttons
        playButton.Init(0, this);
        calibrateButton.Init(1, this);
        settingsButton.Init(2);
        quitButton.Init(3);
    }