override public void update() { base.update(); mButtonPlay.update(); exitButton.update(); logo.update(); if (mButtonPlay.isMouseOver()) { } if (mButtonPlay.clicked()) { CGame.inst().setState(new CPlatformGameState()); return; } if (exitButton.clicked()) { Application.Quit(); } }
override public void update() { base.update(); mButtonPlay.update(); if (mButtonPlay.clicked()) { CGame.inst().setState(new CLevelState()); return; } }