From 42b697b363a28fa8b7c7464e828b83f905d953ba Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 12 Feb 2018 00:37:24 +0100 Subject: Add more events and fix typos in comments --- src/main/headers/Scene.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/headers') diff --git a/src/main/headers/Scene.hpp b/src/main/headers/Scene.hpp index b7a46e6..757202c 100644 --- a/src/main/headers/Scene.hpp +++ b/src/main/headers/Scene.hpp @@ -12,6 +12,8 @@ public: virtual void render() = 0; virtual void resize(const sf::Event::SizeEvent &size) = 0; + virtual void click(const sf::Event::MouseButtonEvent &click) {} + virtual void keyPress(const sf::Event::KeyEvent &event) {} virtual void zoom(float factor) {} protected: -- cgit v1.2.1