@Override public void render(float delta) { batch.begin(); if (!testMsg.isVisable()) back.render(batch); testMsg.render(batch); batch.end(); if (back.wasClicked()) { if (!testMsg.isVisable()) testMsg.show(); else { if (testMsg.Button_Affirmation.wasClicked()) this.GAME.setScreen(GAME.menu); else if (testMsg.Button_Denial.wasClicked()) { this.testMsg.hide(); back.manualClickReset(); } } } }
@Override public void hide() { back.manualClickReset(); testMsg.hide(); }