39 if (
auto state =
top())
47 if (
auto state =
top())
StateMachine< Stored > & operator=(StateMachine< Stored > &&)
Move assignment operator.
std::shared_ptr< Stored > top() const noexcept
Scene, Entity and global game management.
void clear()
Removes all data.
World() noexcept
Constructor.
void render()
Render scenes.
virtual ~World()
Destructor.
World & operator=(World &&)
Move assignment operator.
void update() override
Process events and updates.
Registry m_registry
Entity data.