override public void destroy()
 {
     base.destroy();
     btnNextScreen.destroy();
     btnNextScreen = null;
     optionsBttn.destroy();
     optionsBttn = null;
     mBoard.destroy();
     mBoard = null;
     monster.destroy();
     monster = null;
     building.destroy();
     building = null;
     screenDim.destroy();
     screenDim = null;
     timeLeft.destroy();
     timeLeft = null;
     skills.destroy();
     skills = null;
     backMenuBttn.destroy();
     backMenuBttn = null;
     tryAgainBttn.destroy();
     tryAgainBttn = null;
     scoreText.destroy();
     scoreText = null;
 }
Esempio n. 2
0
    public static void destroy()
    {
        if (mInitialized)
        {
            mInitialized = false;

            shadow.destroy();
            text.destroy();
            characterPortrait.destroy();
        }
    }
Esempio n. 3
0
    override public void destroy()
    {
        base.destroy();

        mBackground.destroy();
        mBackground = null;

        mButtonPlay.destroy();
        mButtonPlay = null;

        exitButton.destroy();
        exitButton = null;

        logo.destroy();
        logo = null;
    }