EntityManager
Description
Type EntityManagerMethod getEntity:Entity (
entityId:Int
)Method getComponent:EntityComponent (
e:Entity,
t:ComponentType
)Method getEntityComponents:ObjectBag (
e:Entity
)Method getEntitiesWithComponent:EntityBag (
t:ComponentType
)Method getActiveEntities:EntityBag (
)Method countEntitiesWithComponent:Int (
t:ComponentType
)Method isActive:Byte (
entityId:Int
)Method getEntityCount:Int (
)Method getTotalCreated:Int (
)Method getTotalRemoved:Int (
)Method createEntity:Entity (
)Method remove (
e:Entity
)Method addComponent (
e:Entity,
c:EntityComponent
)Method removeEntityComponents (
e:Entity
)Method removeComponent (
e:Entity,
c:EntityComponent
)Method removeComponentByType (
e:Entity,
c:ComponentType
)Method refresh (
e:Entity
)Method ensureComponentTypeIsRegistered (
t:ComponentType
)Method getRegisteredComponentsForType:ObjectBag (
t:ComponentType
)Method getComponentsToEntityLookup:EntityBag (
t:ComponentType
)Method New (
)
End Type
Public Methods