YAGE
v0.1.4.0
Yet Another Game Engine
|
Space that keeps track of all the entities, componenets and runs the systems on the data to update them. More...
#include <space.h>
Public Member Functions | |
Space () | |
Default instance for a space. More... | |
unsigned | createEntity () |
Create an entity that will belong to this space, and return the handle to the user. More... | |
Space that keeps track of all the entities, componenets and runs the systems on the data to update them.
There can be multiple instances of a space, which can be used, for example, for different levels in the game that can be loaded separately, or a game menu that can be loaded above the other spaces when the user presses on pause.
yage::Space::Space | ( | ) |
Default instance for a space.
unsigned yage::Space::createEntity | ( | ) |