2021-11-27 19:16:41 +00:00
|
|
|
#pragma once
|
2022-09-16 15:14:38 +00:00
|
|
|
|
2021-11-21 06:23:53 +00:00
|
|
|
#include "event/event.h"
|
|
|
|
|
|
|
|
#include <GLFW/glfw3.h>
|
|
|
|
|
2022-09-16 15:14:38 +00:00
|
|
|
#include <memory>
|
|
|
|
|
2021-11-21 06:23:53 +00:00
|
|
|
namespace simpleengine {
|
|
|
|
class Renderable : public simpleengine::Event {
|
|
|
|
private:
|
2022-08-19 04:20:53 +00:00
|
|
|
using Super = simpleengine::Event;
|
2021-11-21 06:23:53 +00:00
|
|
|
public:
|
2022-08-19 04:20:53 +00:00
|
|
|
Renderable() = default;
|
2021-11-21 06:23:53 +00:00
|
|
|
virtual ~Renderable() = default;
|
2022-08-19 04:20:53 +00:00
|
|
|
|
2022-09-16 15:14:38 +00:00
|
|
|
virtual void render() = 0;
|
2021-11-21 06:23:53 +00:00
|
|
|
};
|
2021-11-27 19:16:41 +00:00
|
|
|
}
|