public class Game
top of the hierarchy, most abstract kind of Game we support. if you implement this you will do most everything youself. most games probably want to implement SimpleGame subclass instead to get menus.
Constructor and Description |
---|
Game(GameSession session)
top of the hierarchy, most abstract kind of Game we support. if you implement this you will do most everything
youself.
most games probably want to implement SimpleGame subclass instead to get menus.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
gameover() |
float |
getMAX_FPS() |
float |
getMIN_FPS() |
java.util.ArrayList<uk.co.electronstudio.retrowar.Player> |
getPlayers() |
FBORenderer |
getRenderer() |
GameSession |
getSession() |
void |
hide() |
void |
postMessage(java.lang.String s) |
void |
render(float deltaTime) |
void |
renderAndClampFramerate() |
void |
resize(int width,
int height) |
void |
show() |
public Game(GameSession session)
top of the hierarchy, most abstract kind of Game we support. if you implement this you will do most everything youself. most games probably want to implement SimpleGame subclass instead to get menus.
public float getMAX_FPS()
public float getMIN_FPS()
public java.util.ArrayList<uk.co.electronstudio.retrowar.Player> getPlayers()
public void gameover()
public void show()
public void hide()
public void resize(int width, int height)
public void render(float deltaTime)
public void postMessage(java.lang.String s)
public FBORenderer getRenderer()
public void dispose()
public void renderAndClampFramerate()
public GameSession getSession()