public abstract class InterpolatingEntitySystem extends com.artemis.EntitySystem implements InterpolatingSystem
EntitySystem to add mini2Dx's update/interpolate methods| Constructor and Description |
|---|
InterpolatingEntitySystem(com.artemis.Aspect.Builder aspect)
Creates a new InterpolatingEntitySystem
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
interpolate(int entityId,
float alpha)
Interpolates an entity
|
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(int entityId,
float delta)
Updates an entity
|
getEntities, inserted, inserted, inserted, removed, removed, removedpublic InterpolatingEntitySystem(com.artemis.Aspect.Builder aspect)
aspect - The Aspect to match entitiesprotected void preUpdate()
protected abstract void update(int entityId,
float delta)
entityId - The entity iddelta - The frame deltaprotected void postUpdate()
protected void preInterpolate()
protected abstract void interpolate(int entityId,
float alpha)
entityId - The entity idalpha - The interpolation alphaprotected void postInterpolate()
protected void processSystem()
processSystem in class com.artemis.BaseSystempublic void interpolateSystem()
InterpolatingSysteminterpolateSystem in interface InterpolatingSystempublic void setWorld(com.artemis.World world)
setWorld in class com.artemis.EntitySystem