SystemFactory for dynamic creation and fetching of systems in a world.

This commit is contained in:
2014-03-09 03:37:39 +01:00
parent f767cdbc9c
commit c952953787
15 changed files with 218 additions and 100 deletions
+4 -3
View File
@@ -9,12 +9,13 @@
namespace Systems
{
class Collision : public System
class CollisionSystem : public System
{
public:
Collision(World* world) : System(world) { }
CollisionSystem(World* world)
: System(world) { }
void Update(double dt, EntityID entity, EntityID parent) override;
void UpdateEntity(double dt, EntityID entity, EntityID parent) override;
};
}