LeviLamina
Loading...
Searching...
No Matches
EntityContext Class Reference
Inheritance diagram for EntityContext:

Classes

struct  Hash

Public Member Functions

entt::basic_registry< EntityId > & getRegistry () noexcept
entt::basic_registry< EntityId > const & getRegistry () const noexcept
template<class T>
optional_ref< T const > tryGetComponent () const
template<class T>
optional_ref< T > tryGetComponent ()
template<class T>
bool hasComponent () const
template<class T>
bool removeComponent ()
template<class T, typename... Args>
T & getOrAddComponent (Args &&... args)
LLNDAPI WeakEntityRef getWeakRef () const
EntityContext & operator= (EntityContext const &)
 EntityContext (EntityContext const &)=default

Public Attributes

::EntityRegistry & mRegistry
::entt::basic_registry<::EntityId > & mEnTTRegistry
::EntityId const mEntity

The documentation for this class was generated from the following file: