public abstract class EntityProcessingSystem extends EntitySystem
Use this when you need to process entities possessing the provided component types.
world| Constructor and Description |
|---|
EntityProcessingSystem(Aspect aspect)
Creates a new EntityProcessingSystem.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
process(Entity e)
Process a entity this system is interested in.
|
protected void |
processEntities(ImmutableBag<Entity> entities)
Any implementing entity system must implement this method and the logic
to process the given entities of the system.
|
added, added, begin, changed, changed, check, checkProcessing, deleted, deleted, disabled, dispose, enabled, end, getActives, initialize, inserted, isEnabled, isPassive, process, removed, setEnabled, setPassive, setWorldpublic EntityProcessingSystem(Aspect aspect)
aspect - the aspect to match entitesprotected abstract void process(Entity e)
e - the entity to processprotected final void processEntities(ImmutableBag<Entity> entities)
EntitySystemprocessEntities in class EntitySystementities - the entities this system contains.Copyright © 2014. All Rights Reserved.