Entity

Undocumented in source.

Constructors

this
this(EntityManager manager, size_t id)
Undocumented in source.

Members

Functions

add
T add(T t)

Add a component

add
T add()

Add a component

clear
void clear()

Clear

contains
bool contains(string id)

Contains a component

contains
bool contains()

Contains a component

containsAll
bool containsAll(string[] ids)

Contains components

containsAll
bool containsAll()

Contains components

containsAny
bool containsAny(string[] ids)

Contains any component

containsAny
bool containsAny()

Contains any component

detach
void detach()

Detach

get
C get()

Get a component

getAll
IComponent[] getAll()

Get components

modify
C modify(AliasSeq!(Fields!C) args)

Modify

remove
void remove(string id)

Remove a component

remove
void remove()

Removes a component

Variables

description
string description;
Undocumented in source.
enabled
bool enabled;
Undocumented in source.
id
size_t id;
Undocumented in source.
name
string name;
Undocumented in source.

Meta