public abstract class Manager extends BaseSystem
BaseSystem hierarchy.
While Manager is still available we recommend implementing new
managers using IteratingSystem, BaseEntitySystem with
Aspect.all(), or BaseSystem depending on your needs.world| Constructor and Description |
|---|
Manager() |
| Modifier and Type | Method and Description |
|---|---|
void |
added(Entity e)
Called when entity gets added to world.
|
void |
deleted(Entity e)
Called when entity gets deleted from world.
|
protected void |
processSystem()
Managers are not interested in processing.
|
protected void |
registerManager()
Hack to register manager to right subscription
|
protected void |
setWorld(World world)
Set the world this system works on.
|
begin, checkProcessing, dispose, end, getWorld, initialize, isEnabled, process, setEnabledpublic void added(Entity e)
public void deleted(Entity e)
protected void setWorld(World world)
setWorld in class BaseSystemworld - the world to setprotected void registerManager()
protected final void processSystem()
processSystem in class BaseSystemCopyright © 2019. All rights reserved.