Entity

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(string name)
Undocumented in source.

Members

Functions

addComponent
void addComponent(EntityComponent component)
Undocumented in source. Be warned that the author may not have intended to support it.
addComponent
void addComponent()
Undocumented in source. Be warned that the author may not have intended to support it.
clearComponents
void clearComponents()
Undocumented in source. Be warned that the author may not have intended to support it.
finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
getComponent
EntityComponentType getComponent()
Undocumented in source. Be warned that the author may not have intended to support it.
getComponent
EntityComponent getComponent(StringId componentType)
Undocumented in source. Be warned that the author may not have intended to support it.
getFromComponent
ReturnType getFromComponent(ReturnType delegate(EntityComponentType) fn)
Undocumented in source. Be warned that the author may not have intended to support it.
getFromComponent
ReturnType getFromComponent(ReturnType delegate(EntityComponentType) fn, ReturnType defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
hasComponent
bool hasComponent(EntityComponent component)
Undocumented in source. Be warned that the author may not have intended to support it.
hasComponent
bool hasComponent()
Undocumented in source. Be warned that the author may not have intended to support it.
hasComponent
bool hasComponent(StringId componentType)
Undocumented in source. Be warned that the author may not have intended to support it.
maybeWithComponent
void maybeWithComponent(void delegate(EntityComponentType) fn)
Undocumented in source. Be warned that the author may not have intended to support it.
removeComponent
void removeComponent(EntityComponent component)
Undocumented in source. Be warned that the author may not have intended to support it.
removeComponent
void removeComponent(StringId componentType)
Undocumented in source. Be warned that the author may not have intended to support it.
removeComponent
void removeComponent()
Undocumented in source. Be warned that the author may not have intended to support it.
withComponent
void withComponent(void delegate(EntityComponentType) fn)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

components
components [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isFinalized
isFinalized [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

id
uint id;
Undocumented in source.
parent
Entity parent;
Undocumented in source.

Meta