0.44.0
|
#include <iComponentMap.h>
Public Member Functions | |
T & | add (iEntityID entityID, const T &component) |
void | remove (iEntityID entityID) |
T * | tryGet (iEntityID entityID) |
T & | get (iEntityID entityID) |
const T & | get (iEntityID entityID) const |
void | clear () |
entity to component map
used for handling component types unknown to Igor
|
inline |
adds component for given entity
entityID | the given entity |
component | the component to be added |
|
inline |
|
inline |
critical error if entity does not exist
entityID | the given entity id |
|
inline |
critical error if entity does not exist
entityID | the given entity id |
|
inline |
removes component for given entity id
entityID | the given entity id |
|
inline |
entityID | the given entity id |