From 235f128136c7c23a64fa5f0424edf05879b8ee9b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 28 Jan 2021 18:51:30 +0000 Subject: Input stack and logical split of camera controller --- application/inputHandler.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 application/inputHandler.h (limited to 'application/inputHandler.h') diff --git a/application/inputHandler.h b/application/inputHandler.h new file mode 100644 index 0000000..bcb900b --- /dev/null +++ b/application/inputHandler.h @@ -0,0 +1,13 @@ +#ifndef INPUT_HANDLER_H +#define INPUT_HANDLER_H + +union SDL_Event; + +class InputHandler { +public: + virtual ~InputHandler() = default; + + virtual bool handleInput(SDL_Event &) = 0; +}; + +#endif -- cgit v1.2.3