public abstract class BaseInterpolatingSystem extends com.artemis.BaseSystem implements InterpolatingSystem
BaseSystem
to add mini2Dx's update/interpolate methodsConstructor and Description |
---|
BaseInterpolatingSystem() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
interpolate(float alpha)
Interpolates the system
|
void |
interpolateSystem()
Interpolate the system
|
protected void |
postInterpolate()
An overridable method called once after the system interpolates
|
protected void |
postUpdate()
An overridable method called once after the system updates
|
protected void |
preInterpolate()
An overridable method called once before the system interpolates
|
protected void |
preUpdate()
An overridable method called once before the system updates
|
protected void |
processSystem() |
void |
setWorld(com.artemis.World world) |
protected abstract void |
update(float delta)
Updates the system
|
protected void preUpdate()
protected abstract void update(float delta)
delta
- The frame deltaprotected void postUpdate()
protected void preInterpolate()
protected abstract void interpolate(float alpha)
alpha
- The interpolation alphaprotected void postInterpolate()
protected void processSystem()
processSystem
in class com.artemis.BaseSystem
public void interpolateSystem()
InterpolatingSystem
interpolateSystem
in interface InterpolatingSystem
public void setWorld(com.artemis.World world)
setWorld
in class com.artemis.BaseSystem