SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Entity() [2/2]

Spices::Entity::Entity ( entt::entity handle,
World * world )
inline

Constructor Function. Init class variable. Usually call it.

Parameters
[in]handleentt::entity, ESC identify.
[in]worldWorld pointer.

Definition at line 35 of file Entity.h.

36 : m_EntityHandle(handle)
37 , m_World(world)
38 {}
entt::entity m_EntityHandle
This entity's identify in ECS.
Definition Entity.h:166
World * m_World
A specific world Pointer.
Definition Entity.h:171

References Entity(), and m_World.

Referenced by Entity().