SpiecsEngine
 
Loading...
Searching...
No Matches

◆ AddToRoot()

void Spices::Entity::AddToRoot ( )
inline

Add a entity to this world root.

Definition at line 101 of file Entity.h.

102 {
103 m_World->AddToRoot(*this);
104 }
World * m_World
A specific world Pointer.
Definition Entity.h:171
void AddToRoot(Entity &entity)
Add a entity to this world root.
Definition World.cpp:67

References Spices::World::AddToRoot(), and m_World.

Referenced by Spices::EntityComponent::RemoveEntity().