summaryrefslogtreecommitdiff
path: root/engine-ocean/Game/Systems/drawsystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'engine-ocean/Game/Systems/drawsystem.h')
-rw-r--r--engine-ocean/Game/Systems/drawsystem.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/engine-ocean/Game/Systems/drawsystem.h b/engine-ocean/Game/Systems/drawsystem.h
new file mode 100644
index 0000000..d1c8eb9
--- /dev/null
+++ b/engine-ocean/Game/Systems/drawsystem.h
@@ -0,0 +1,23 @@
+#ifndef DRAWSYSTEM_H
+#define DRAWSYSTEM_H
+
+
+#include "Game/GameObjects/GameObject.h"
+#include <vector>
+#include "system.h"
+
+class DrawSystem : public System
+{
+public:
+ DrawSystem(std::map<std::string, std::shared_ptr<GameObject>>& gameobjects);
+ void draw() override;
+ void update(double deltaTime) override;
+ void scrollEvent(double distance) override;
+ void mousePosEvent(double xpos, double ypos) override;
+
+
+private:
+ std::map<std::string, std::shared_ptr<GameObject>>& m_gameobjects;
+};
+
+#endif // DRAWSYSTEM_H