public interface GameScreen
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns the identifier of the screen
|
void |
initialise(GameContainer gc)
Initialises the game screen
|
void |
render(GameContainer gc,
Graphics g)
Renders the game screen
|
void |
update(GameContainer gc,
ScreenManager screenManager,
float delta)
Updates the game screen
|
void initialise(GameContainer gc)
gc - The GameContainer of the gamevoid update(GameContainer gc, ScreenManager screenManager, float delta)
gc - The GameContainer of the gamescreenManager - The ScreenManager of the gamedelta - The time in seconds since the last updatevoid render(GameContainer gc, Graphics g)
gc - The GameContainer of the gameg - The Graphics context available for renderingint getId()
Copyright © 2014. All rights reserved.