Entity

Undocumented in source.

Constructors

this
this(bool addTransform)
Undocumented in source.

Members

Functions

AddComponent
auto AddComponent(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
AddComponent
auto AddComponent(Component component)
Undocumented in source. Be warned that the author may not have intended to support it.
AddComponent
auto AddComponent(T component)
Undocumented in source. Be warned that the author may not have intended to support it.
Clone
Entity Clone()
Undocumented in source. Be warned that the author may not have intended to support it.
Destory
void Destory()
Undocumented in source. Be warned that the author may not have intended to support it.
GetComponent
auto GetComponent()
Undocumented in source. Be warned that the author may not have intended to support it.
RemoveComponent
bool RemoveComponent(Component component)
Undocumented in source. Be warned that the author may not have intended to support it.
RemoveComponent
bool RemoveComponent()
Undocumented in source. Be warned that the author may not have intended to support it.
RemoveComponents
bool RemoveComponents()
Undocumented in source. Be warned that the author may not have intended to support it.
SendMessage
void SendMessage(string name, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
onActive
void onActive()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

Components
auto Components [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
inScene
bool inScene [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
transform
t.Transform transform [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

active
bool active;
Undocumented in source.
arrayIndex
ptrdiff_t arrayIndex;
Undocumented in source.
components
Component[] components;
Undocumented in source.
name
string name;
Undocumented in source.
sprite
Sprite sprite;
Undocumented in source.
transform_
t.Transform transform_;
Undocumented in source.
valid
bool valid;
Undocumented in source.

Meta