public abstract class IteratingSystem extends BaseEntitySystem
EntitySubscription member entities by
entity identity.
Use this when you need to process entities matching an Aspect,
and you want maximum performance.Entity iteration by entity reference.subscriptionworld| Constructor and Description |
|---|
IteratingSystem() |
IteratingSystem(Aspect.Builder aspect)
Creates a new IteratingSystem.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
process(int entityId)
Process a entity this system is interested in.
|
protected void |
processSystem()
Process the system.
|
getEntityIds, getSubscription, inserted, inserted, removed, removed, setWorldbegin, checkProcessing, dispose, end, getWorld, initialize, isEnabled, process, setEnabledpublic IteratingSystem(Aspect.Builder aspect)
aspect - the aspect to match entitiespublic IteratingSystem()
protected abstract void process(int entityId)
entityId - the entity to processprotected final void processSystem()
BaseSystemprocessSystem in class BaseSystemCopyright © 2019. All rights reserved.