Stupid circular dependency fixed.

This commit is contained in:
2014-02-25 20:09:15 +01:00
parent 369ff782f1
commit 63337cf660
4 changed files with 17 additions and 8 deletions
+8 -2
View File
@@ -1,3 +1,6 @@
#ifndef World_h__
#define World_h__
#include <stack>
#include <unordered_map>
#include <vector>
@@ -5,7 +8,8 @@
#include "Entity.h"
#include "Component.h"
#include "Components/Transform.h"
#include "ComponentFactory.h"
//#include "Components/Transform.h"
class World
{
@@ -78,4 +82,6 @@ private:
{
m_RecycledEntityIDs.push(id);
}
};
};
#endif // World_h__