ecs::World
Last updated
Last updated
#include <World.hpp>
void
void
void
class is used to contain all the components that are relevant to work together
Default constructor
Used to operate all the systems in the world
Parameters:
system The system you want to add in the world in a constant manner
USed to add a new system into the world
Parameters:
event The event you want to push in the world
Used to add a new event into the world
Return: The first event of the private stack if it exists, ecs::Event::EventType::Null otherwise
Used to get the first event of the private stack _events
Return: The event you just popped out of the stack if it exists, ecs::Event::EventType::Null otherwise
Used to pop the first event of the private stack _events
Updated on 2022-11-13 at 17:21:37 +0100
()
()
(const std::function< void( &)> & system)
(const event)
const
() const
const
()
The registry of the world, refers to the documentation to learn more about it