public class GraphicsUAT extends BasicGame
GameContainer that allows visual user acceptance testing of
Graphics functionalitygraphics, height, shapeRenderer, spriteBatch, width| Constructor and Description |
|---|
GraphicsUAT() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise()
Initialse the game
|
void |
interpolate(float alpha)
Interpolate the game state
|
boolean |
keyDown(int keycode) |
static void |
main(java.lang.String[] args) |
void |
render(Graphics g)
Render the game
|
void |
update(float delta)
Update the game
|
keyTyped, keyUp, mouseMoved, pause, preinit, resume, scrolled, touchDown, touchDragged, touchUppublic void initialise()
GameContainerinitialise in class GameContainerpublic void update(float delta)
GameContainerupdate in class GameContainerdelta - The time in seconds since the last updatepublic void interpolate(float alpha)
GameContainerinterpolate in class GameContaineralpha - The alpha value to use during interpolationpublic void render(Graphics g)
GameContainerrender in class GameContainerg - The Graphics context available for renderingpublic boolean keyDown(int keycode)
public static void main(java.lang.String[] args)