apes
Class Game

java.lang.Object
  extended by org.newdawn.slick.state.StateBasedGame
      extended by apes.Game
All Implemented Interfaces:
org.newdawn.slick.ControlledInputReciever, org.newdawn.slick.ControllerListener, org.newdawn.slick.Game, org.newdawn.slick.InputListener, org.newdawn.slick.KeyListener, org.newdawn.slick.MouseListener

public class Game
extends org.newdawn.slick.state.StateBasedGame

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

MAINMENUSTAT

public static final int MAINMENUSTAT
See Also:
Constant Field Values

GAMEPLAYSTATE

public static final int GAMEPLAYSTATE
See Also:
Constant Field Values

INTROSTATE

public static final int INTROSTATE
See Also:
Constant Field Values

app

public static org.newdawn.slick.AppGameContainer app
Constructor Detail

Game

public Game()
Method Detail

initStatesList

public void initStatesList(org.newdawn.slick.GameContainer gameContainer)
                    throws org.newdawn.slick.SlickException
Specified by:
initStatesList in class org.newdawn.slick.state.StateBasedGame
Throws:
org.newdawn.slick.SlickException

main

public static void main(java.lang.String[] args)
                 throws org.newdawn.slick.SlickException
Throws:
org.newdawn.slick.SlickException