Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::WorldContextSet Class Reference

Public Member Functions

 WorldContextSet (const WorldContextSet &)=delete
 
WorldContextSetoperator= (const WorldContextSet &)=delete
 
 WorldContextSet (WorldContextSet &&) noexcept=default
 
WorldContextSetoperator= (WorldContextSet &&) noexcept=default
 
entt::registry & GetEntityRegistry ()
 
Grindstone::WorldContextGetContext (Grindstone::HashedString hashedString)
 
const entt::registry & GetEntityRegistry () const
 
const Grindstone::WorldContextGetContext (Grindstone::HashedString hashedString) const
 
void Create (Grindstone::HashedString hashedString, Grindstone::UniquePtr< Grindstone::WorldContext > &&cxt)
 
void Remove (Grindstone::HashedString hashedString)
 

Protected Attributes

entt::registry registry
 
std::map< Grindstone::HashedString, Grindstone::UniquePtr< Grindstone::WorldContext > > contexts
 

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