public abstract class InterpolatingEntitySystem
extends com.artemis.EntitySystem
EntitySystem
to add mini2Dx's update/interpolate methodsConstructor and Description |
---|
InterpolatingEntitySystem(com.artemis.Aspect.Builder aspect)
Creates a new InterpolatingEntitySystem
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
interpolate(com.artemis.Entity e,
float alpha) |
void |
interpolateSystem() |
protected void |
processSystem() |
void |
setWorld(com.artemis.World world) |
protected abstract void |
update(com.artemis.Entity e,
float delta) |
added, added, changed, changed, check, deleted, deleted, disabled, enabled, getActives, getActives, getSubscription, inserted, inserted, removed, removed
public InterpolatingEntitySystem(com.artemis.Aspect.Builder aspect)
aspect
- The Aspect
to match entitiesprotected abstract void update(com.artemis.Entity e, float delta)
protected abstract void interpolate(com.artemis.Entity e, float alpha)
protected void processSystem()
processSystem
in class com.artemis.BaseSystem
public void interpolateSystem()
public void setWorld(com.artemis.World world)
setWorld
in class com.artemis.EntitySystem