|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GameState | |
---|---|
org.newdawn.slick.state | State based games allow the game to be broken down into the different activities the player may take part in, for instance menu, highscores, play and credits. |
org.newdawn.slick.state.transition | |
org.newdawn.slick.tests.states | States for the StateBasedGameTest |
Uses of GameState in org.newdawn.slick.state |
---|
Classes in org.newdawn.slick.state that implement GameState | |
---|---|
class |
BasicGameState
A simple state used an adapter so we don't have to implement all the event methods every time. |
Methods in org.newdawn.slick.state that return GameState | |
---|---|
GameState |
StateBasedGame.getCurrentState()
Get the state the game is currently in |
GameState |
StateBasedGame.getState(int id)
Get a state based on it's identifier |
Methods in org.newdawn.slick.state with parameters of type GameState | |
---|---|
void |
StateBasedGame.addState(GameState state)
Add a state to the game. |
Uses of GameState in org.newdawn.slick.state.transition |
---|
Methods in org.newdawn.slick.state.transition with parameters of type GameState | |
---|---|
void |
VerticalSplitTransition.init(GameState firstState,
GameState secondState)
|
void |
Transition.init(GameState firstState,
GameState secondState)
Initialise the transition |
void |
SelectTransition.init(GameState firstState,
GameState secondState)
|
void |
RotateTransition.init(GameState firstState,
GameState secondState)
|
void |
HorizontalSplitTransition.init(GameState firstState,
GameState secondState)
|
void |
FadeOutTransition.init(GameState firstState,
GameState secondState)
|
void |
FadeInTransition.init(GameState firstState,
GameState secondState)
|
void |
EmptyTransition.init(GameState firstState,
GameState secondState)
|
void |
CombinedTransition.init(GameState firstState,
GameState secondState)
|
void |
BlobbyTransition.init(GameState firstState,
GameState secondState)
|
Constructors in org.newdawn.slick.state.transition with parameters of type GameState | |
---|---|
CrossStateTransition(GameState secondState)
Create a cross state transitions |
Uses of GameState in org.newdawn.slick.tests.states |
---|
Classes in org.newdawn.slick.tests.states that implement GameState | |
---|---|
class |
TestState1
A simple test state to display a message describing the test |
class |
TestState2
A simple test state to display an image and rotate it |
class |
TestState3
A simple test state to display an image and rotate it |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |