|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.newdawn.slick.state.StateBasedGame
apes.Game
public class Game
The main class of the game "Apes throw bananas".
Field Summary | |
---|---|
static org.newdawn.slick.AppGameContainer |
app
|
static int |
GAMEPLAYSTATE
|
static int |
INTROSTATE
|
static int |
MAINMENUSTAT
|
Constructor Summary | |
---|---|
Game()
|
Method Summary | |
---|---|
void |
initStatesList(org.newdawn.slick.GameContainer gameContainer)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class org.newdawn.slick.state.StateBasedGame |
---|
addState, closeRequested, controllerButtonPressed, controllerButtonReleased, controllerDownPressed, controllerDownReleased, controllerLeftPressed, controllerLeftReleased, controllerRightPressed, controllerRightReleased, controllerUpPressed, controllerUpReleased, enterState, enterState, getContainer, getCurrentState, getCurrentStateID, getState, getStateCount, getTitle, init, inputEnded, inputStarted, isAcceptingInput, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, postRenderState, postUpdateState, preRenderState, preUpdateState, render, setInput, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAINMENUSTAT
public static final int GAMEPLAYSTATE
public static final int INTROSTATE
public static org.newdawn.slick.AppGameContainer app
Constructor Detail |
---|
public Game()
Method Detail |
---|
public void initStatesList(org.newdawn.slick.GameContainer gameContainer) throws org.newdawn.slick.SlickException
initStatesList
in class org.newdawn.slick.state.StateBasedGame
org.newdawn.slick.SlickException
public static void main(java.lang.String[] args) throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |