Component definitions now loaded from schema. No default values yet.

This commit is contained in:
sippeangelo
2015-12-08 18:07:32 +01:00
parent 03bbe25a1e
commit d7de4fc694
9 changed files with 504 additions and 46 deletions
+2 -1
View File
@@ -2,7 +2,7 @@
#define World_h__
#include "../Common.h"
#include "EntityWrapper.h"
#include "Entity.h"
#include "ObjectPool.h"
#include "ComponentPool.h"
@@ -12,6 +12,7 @@ public:
World() = default;
~World();
// Create empty entity
EntityID CreateEntity(EntityID parent = 0);
// Register a component type and allocate space for it