private void showMenuPage() {
fPage = 2;
fBack.setTopHeight(290);
addChild(fBack);
fHoverPlay = new HoverSprite("ui/button_play", "ui/button_play_hover") {
/**
* Serial key
*/
private static final long serialVersionUID = -4972728615626326360L;
@Override
public void click() {
fHoverPlay.cleanup();
fHoverEditor.cleanup();
fHoverLearn.cleanup();
fHoverWww.cleanup();
fAudio.cleanup();
fFullscreen.cleanup();
fScreensize.cleanup();
removeChild(fBack);
showLevelPage(SET_PLAY);
}
};
fHoverEditor = new HoverSprite("ui/button_editor", "ui/button_editor_hover") {
/**
* Serial key
*/
private static final long serialVersionUID = -4972728615626326360L;
@Override
public void click() {
GruntzGame.instance().startEditor();
}
};
fHoverLearn = new HoverSprite("ui/button_learn", "ui/button_learn_hover") {
/**
* Serial key
*/
private static final long serialVersionUID = -4972728615626326360L;
@Override
public void click() {
fHoverPlay.cleanup();
fHoverEditor.cleanup();
fHoverLearn.cleanup();
fHoverWww.cleanup();
fAudio.cleanup();
fFullscreen.cleanup();
fScreensize.cleanup();
removeChild(fBack);
showLevelPage(SET_LEARN);
}
};
fHoverWww = new HoverSprite("ui/button_www", "ui/button_www_hover") {
/**
* Serial key
*/
private static final long serialVersionUID = -4972728615626326360L;
@Override