public abstract class GameSystem<T extends Entity> extends System<T>
System
entities, isDebugging
Constructor and Description |
---|
GameSystem() |
Modifier and Type | Method and Description |
---|---|
abstract void |
initialise(GameContainer gc)
Initialise the
System |
abstract void |
interpolate(GameContainer gc,
float alpha)
Interpolate the
System |
abstract void |
render(GameContainer gc,
Graphics g)
Render the
System |
void |
update(float delta)
Updates all
Entity s in the system |
abstract void |
update(GameContainer gc,
float delta)
Update the
System |
addEntity, getEntity, isDebugging, removeEntity, setDebugging
public abstract void initialise(GameContainer gc)
System
gc
- The GameContainer
calling initialisepublic abstract void update(GameContainer gc, float delta)
System
gc
- The GameContainer
calling updatedelta
- The time in seconds since the last updatepublic abstract void interpolate(GameContainer gc, float alpha)
System
gc
- The GameContainer
calling interpolatealpha
- The alpha value to use during interpolationpublic abstract void render(GameContainer gc, Graphics g)
System
gc
- The GameContainer
calling renderg
- The Graphics
instance