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