aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-12 00:37:24 +0100
committerNao Pross <naopross@thearcway.org>2018-02-12 00:37:24 +0100
commit42b697b363a28fa8b7c7464e828b83f905d953ba (patch)
tree61ec2f1a25203df83572f2c4f65a59cc63cb5a81 /src/main/headers
parentHandle WindowResize event and add zoom (diff)
downloadSubconscious-old-42b697b363a28fa8b7c7464e828b83f905d953ba.tar.gz
Subconscious-old-42b697b363a28fa8b7c7464e828b83f905d953ba.zip
Add more events and fix typos in comments
Diffstat (limited to 'src/main/headers')
-rw-r--r--src/main/headers/Scene.hpp2
1 files changed, 2 insertions, 0 deletions
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: