18 #ifndef INCLUDED_SIM2_ENTITY
19 #define INCLUDED_SIM2_ENTITY
58 #define ENTITY_TAGMASK (1 << 29)
59 #define ENTITY_IS_NORMAL(id) (((id) & ENTITY_TAGMASK) == 0)
60 #define ENTITY_IS_LOCAL(id) (((id) & ENTITY_TAGMASK) == ENTITY_TAGMASK)
97 #endif // INCLUDED_SIM2_ENTITY
IComponent * interfaces[1]
Object wrapping an entity_id_t, with a SEntityComponentCache to support fast QueryInterface() / CmpPt...
SEntityComponentCache * m_ComponentCache
const entity_id_t SYSTEM_ENTITY
Entity ID for singleton 'system' components.
const entity_id_t FIRST_LOCAL_ENTITY
entity_id_t GetId() const
CEntityHandle(entity_id_t id, SEntityComponentCache *componentCache)
const entity_id_t INVALID_ENTITY
Invalid entity ID.
u32 entity_id_t
Entity ID type.
SEntityComponentCache * GetComponentCache() const