diff options
Diffstat (limited to 'engine-ocean/Game/screen.h')
-rw-r--r-- | engine-ocean/Game/screen.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/engine-ocean/Game/screen.h b/engine-ocean/Game/screen.h new file mode 100644 index 0000000..0a4ebb1 --- /dev/null +++ b/engine-ocean/Game/screen.h @@ -0,0 +1,20 @@ +#ifndef SCREEN_H +#define SCREEN_H + + +class Screen +{ +public: + Screen(); + + virtual void update(double deltaTime) = 0; + virtual void draw() = 0; + virtual void keyEvent(int key, int action) = 0; + virtual void mousePosEvent(double xpos, double ypos) = 0; + virtual void mouseButtonEvent(int button, int action) = 0; + virtual void scrollEvent(double distance) = 0; + virtual void windowResizeEvent(int width, int height) = 0; + virtual void framebufferResizeEvent(int width, int height) = 0; +}; + +#endif // SCREEN_H |