[ADD] the pause menu can be accessed with the 'P' key. the real button are not implemented yet.

This commit is contained in:
lars
2021-06-01 15:18:07 +02:00
parent ef466c9d95
commit 2468d7fa7f
10 changed files with 122 additions and 23 deletions

View File

@@ -18,14 +18,12 @@ namespace scene {
class Scene
{
public:
virtual ~Scene() = 0;
virtual Scenes start(GLFWwindow* window) = 0;
virtual void render() = 0;
virtual void update(GLFWwindow* window) = 0;
virtual void onKey(GLFWwindow* window, int key, int scancode, int action, int mods) {};
};
}