|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.artemis.Manager
com.artemis.EntityManager
public class EntityManager
| Field Summary |
|---|
| Fields inherited from class com.artemis.Manager |
|---|
world |
| Constructor Summary | |
|---|---|
EntityManager()
|
|
| Method Summary | |
|---|---|
void |
added(Entity e)
|
protected Entity |
createEntityInstance()
|
void |
deleted(Entity e)
|
void |
disabled(Entity e)
|
void |
enabled(Entity e)
|
int |
getActiveEntityCount()
Get how many entities are active in this world. |
protected Entity |
getEntity(int entityId)
Get a entity with this id. |
long |
getTotalAdded()
Get how many entities have been added to the world since start. |
long |
getTotalCreated()
Get how many entities have been created in the world since start. |
long |
getTotalDeleted()
Get how many entities have been deleted from the world since start. |
protected void |
initialize()
|
boolean |
isActive(int entityId)
Check if this entity is active. |
boolean |
isEnabled(int entityId)
Check if the specified entityId is enabled. |
| Methods inherited from class com.artemis.Manager |
|---|
changed, getWorld, setWorld |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityManager()
| Method Detail |
|---|
protected void initialize()
initialize in class Managerprotected Entity createEntityInstance()
public void added(Entity e)
added in interface EntityObserveradded in class Managerpublic void enabled(Entity e)
enabled in interface EntityObserverenabled in class Managerpublic void disabled(Entity e)
disabled in interface EntityObserverdisabled in class Managerpublic void deleted(Entity e)
deleted in interface EntityObserverdeleted in class Managerpublic boolean isActive(int entityId)
entityId -
public boolean isEnabled(int entityId)
entityId -
protected Entity getEntity(int entityId)
entityId -
public int getActiveEntityCount()
public long getTotalCreated()
public long getTotalAdded()
public long getTotalDeleted()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||