- UpdatePolicy
enum UpdatePolicy
Defines if update() function will be automatically called by the system manager or manually by the user.
- m_entities
Array!Entity m_entities;
Undocumented in source.
- m_updatePolicy
UpdatePolicy m_updatePolicy;
Undocumented in source.
- m_componentsFilter
int[] m_componentsFilter;
Undocumented in source.
- m_world
World m_world;
Undocumented in source.
- ~this
~this()
- update
void update(float deltaTime)
- registerComponents
void registerComponents()
Registers current system's components if they are not known by the entity manager.
Note: Only useful when a ComponentFilters mixin is used in the user system.
- componentsFilter
int[] componentsFilter [@property getter]
Returns a static array containing components ids.
Note: Only useful when a ComponentFilters mixin is used in the user system.
- onEntityActivated
void onEntityActivated(Entity entity)
Event called when new entity that satisfies current system's components filter has been activated.
- onEntityKilled
void onEntityKilled(Entity entity)
Event called when a new entity that satisfies current system's components filter has been killed.
- updatePolicy
const(UpdatePolicy) updatePolicy [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- updatePolicy
UpdatePolicy updatePolicy [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- world
World world [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.