YAGE  v0.1.4.0
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
space.h
Go to the documentation of this file.
1 
9 #ifndef YAGE_ENGINE_SPACE_H
10 #define YAGE_ENGINE_SPACE_H
11 
12 #include <vector>
13 
14 #include "entitymanager.h"
15 
16 namespace yage
17 {
18 
26 class Space
27 {
28 public:
32  Space();
33 
40  unsigned createEntity();
41 
42 private:
53  EntityManager em_;
54 };
55 
56 } // namespace yage
57 
58 #endif
Manages entities in a space.
Definition: entitymanager.h:24
Space()
Default instance for a space.
Definition: space.cpp:14
unsigned createEntity()
Create an entity that will belong to this space, and return the handle to the user.
Definition: space.cpp:16
Space that keeps track of all the entities, componenets and runs the systems on the data to update th...
Definition: space.h:26