Entity

Undocumented in source.

Constructors

this
this(EntityManager em, Id id)
Undocumented in source.

Members

Functions

add
void add(C component)

Adds component for this entity.

get
C* get()

Returns component of this entity.

has
bool has()

Checks if this entity own a specific component.

invalidate
void invalidate()

Invalidates current entity, but it's still a living entity.

opCmp
int opCmp(Entity rhs)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

id
const(Id) id [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta