public class TiledMapWithCachingUAT extends GameContainer
GameContainer
that allows visual user acceptance testing of
TiledMap
rendering with layer caching enabledgraphics, height, shapeRenderer, spriteBatch, width
Constructor and Description |
---|
TiledMapWithCachingUAT() |
Modifier and Type | Method and Description |
---|---|
void |
initialise()
Initialse the game
|
void |
interpolate(float alpha)
Interpolate the game state
|
static void |
main(java.lang.String[] args) |
void |
pause() |
void |
render(Graphics g)
Render the game
|
void |
resume() |
void |
update(float delta)
Update the game
|
public void pause()
public void resume()
public void initialise()
GameContainer
initialise
in class GameContainer
public void update(float delta)
GameContainer
update
in class GameContainer
delta
- The time in seconds since the last updatepublic void interpolate(float alpha)
GameContainer
interpolate
in class GameContainer
alpha
- The alpha value to use during interpolationpublic void render(Graphics g)
GameContainer
render
in class GameContainer
g
- The Graphics
context available for renderingpublic static void main(java.lang.String[] args)