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; }
public static void destroy() { if (mInitialized) { mInitialized = false; shadow.destroy(); text.destroy(); characterPortrait.destroy(); } }
override public void destroy() { base.destroy(); mBackground.destroy(); mBackground = null; mButtonPlay.destroy(); mButtonPlay = null; exitButton.destroy(); exitButton = null; logo.destroy(); logo = null; }