Refactored factory and component system.

This commit is contained in:
2014-03-07 01:08:54 +01:00
parent 18197bf21d
commit e65db077d5
30 changed files with 313 additions and 284 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef InputSystem_h__
#define InputSystem_h__
#include <GLFW/glfw3.h>
#include "System.h"
#include "Components/Input.h"
namespace Systems
{
class InputSystem : public System
{
public:
InputSystem(World* world)
: System(world)
{
}
void Update(double dt, EntityID entity, EntityID parent) override;
};
}
#endif // InputSystem_h__