renderbug-cpp/lib/Figments/Renderer.h

17 lines
417 B
C
Raw Normal View History

2019-05-10 05:17:29 +00:00
#include "./Figment.h"
#include <vector>
class Display;
struct Renderer: public Task {
public:
Renderer(std::vector<Display*>&& displays, const std::vector<Figment*> &figments) : Task("Renderer"), m_figments(figments), m_displays(std::move(displays)) {}
2019-05-10 05:17:29 +00:00
void loop() override;
void onStart() override;
private:
const std::vector<Figment*> m_figments;
const std::vector<Display*> m_displays;
};