#pragma once #include class KeyWatcher { private: GLFWwindow* const _handle; int _key; int _last_state; public: KeyWatcher(GLFWwindow* handle, int key); bool wasClicked(); };