public class MainMenu
extends org.newdawn.slick.state.BasicGameState
Constructor and Description |
---|
MainMenu() |
Modifier and Type | Method and Description |
---|---|
int |
getID() |
static AudioPlayer |
getMusicPlayer() |
void |
init(org.newdawn.slick.GameContainer container,
org.newdawn.slick.state.StateBasedGame game) |
void |
mouseReleased(int button,
int x,
int y) |
void |
render(org.newdawn.slick.GameContainer container,
org.newdawn.slick.state.StateBasedGame game,
org.newdawn.slick.Graphics g) |
void |
replayMusic() |
void |
update(org.newdawn.slick.GameContainer container,
org.newdawn.slick.state.StateBasedGame game,
int delta) |
controllerButtonPressed, controllerButtonReleased, controllerDownPressed, controllerDownReleased, controllerLeftPressed, controllerLeftReleased, controllerRightPressed, controllerRightReleased, controllerUpPressed, controllerUpReleased, enter, inputEnded, inputStarted, isAcceptingInput, keyPressed, keyReleased, leave, mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseWheelMoved, setInput
public void init(org.newdawn.slick.GameContainer container, org.newdawn.slick.state.StateBasedGame game) throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickException
public void render(org.newdawn.slick.GameContainer container, org.newdawn.slick.state.StateBasedGame game, org.newdawn.slick.Graphics g) throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickException
public void update(org.newdawn.slick.GameContainer container, org.newdawn.slick.state.StateBasedGame game, int delta) throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickException
public int getID()
getID
in interface org.newdawn.slick.state.GameState
getID
in class org.newdawn.slick.state.BasicGameState
public void mouseReleased(int button, int x, int y)
mouseReleased
in interface org.newdawn.slick.MouseListener
mouseReleased
in class org.newdawn.slick.state.BasicGameState
public void replayMusic()
public static AudioPlayer getMusicPlayer()