summaryrefslogtreecommitdiff
path: root/engine-ocean/Game/Systems/drawsystem.h
blob: d1c8eb94bdc7dd64d985c2e56a43ef6a158efe54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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