SpiecsEngine
 
Loading...
Searching...
No Matches

◆ operator==()

bool Spices::Entity::operator== ( const Entity & other) const
inline

Equal Operation.

Parameters
[in]otherAnother Entity.
Returns
Returns true if euqal.

Definition at line 146 of file Entity.h.

147 {
148 return m_EntityHandle == other.m_EntityHandle && m_World == other.m_World;
149 }
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