public abstract class DispersedIntervalEntitySystem
extends com.artemis.EntitySystem
EntitySystem that will wait for an interval then queue all
 entities to be updated over the duration of the next interval.| Modifier and Type | Field and Description | 
|---|---|
protected int | 
entitiesPerUpdate  | 
protected com.badlogic.gdx.utils.Queue<java.lang.Integer> | 
processingQueue  | 
| Constructor and Description | 
|---|
DispersedIntervalEntitySystem(com.artemis.Aspect.Builder aspect,
                             float interval)
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
float | 
getInterval()
Returns the interval of the system 
 | 
protected void | 
processSystem()  | 
void | 
setInterval(float interval)
Sets the interval of the system 
 | 
protected abstract void | 
update(int entityId,
      float delta)
Updates an entity 
 | 
getEntities, inserted, inserted, inserted, removed, removed, removed, setWorldprotected final com.badlogic.gdx.utils.Queue<java.lang.Integer> processingQueue
protected int entitiesPerUpdate
public DispersedIntervalEntitySystem(com.artemis.Aspect.Builder aspect,
                                     float interval)
aspect - The Aspect to match entitiesinterval - The interval in secondsprotected abstract void update(int entityId,
                               float delta)
entityId - The entity iddelta - The delta since the last updateprotected void processSystem()
processSystem in class com.artemis.BaseSystempublic float getInterval()
public void setInterval(float interval)
interval -