public abstract class EntityProcessingSystem extends EntitySystem
EntitySubscription member entities by
entity reference.
Use this when you need to process entities matching an Aspect,
and you prefer to work with Entity.
This is a convenience system. We suggest to use IteratingSystem
instead, it sits closer to the metal and enjoys better long term support.subscriptionworld| Constructor and Description |
|---|
EntityProcessingSystem() |
EntityProcessingSystem(Aspect.Builder 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 |
processSystem()
Process the system.
|
getEntities, inserted, inserted, inserted, removed, removed, removed, setWorldgetEntityIds, getSubscriptionbegin, checkProcessing, dispose, end, getWorld, initialize, isEnabled, process, setEnabledpublic EntityProcessingSystem(Aspect.Builder aspect)
aspect - the aspect to match entitiespublic EntityProcessingSystem()
protected abstract void process(Entity e)
e - the entity to processprotected final void processSystem()
BaseSystemprocessSystem in class BaseSystemCopyright © 2019. All rights reserved.