aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers
diff options
context:
space:
mode:
authormafaldo <mafaldo@heavyhammer.home>2018-02-12 19:27:49 +0100
committermafaldo <mafaldo@heavyhammer.home>2018-02-12 19:27:49 +0100
commit07ac0fe25109717d4d7f9bcc7ae313a25b839cb0 (patch)
tree509c740828e2cae12e8e5de48c13219349d43d3b /src/main/headers
parentEdit makefile to build and run c++ by default (diff)
downloadSubconscious-old-07ac0fe25109717d4d7f9bcc7ae313a25b839cb0.tar.gz
Subconscious-old-07ac0fe25109717d4d7f9bcc7ae313a25b839cb0.zip
add pan
Diffstat (limited to 'src/main/headers')
-rw-r--r--src/main/headers/Scene.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/headers/Scene.hpp b/src/main/headers/Scene.hpp
index 757202c..19a32dd 100644
--- a/src/main/headers/Scene.hpp
+++ b/src/main/headers/Scene.hpp
@@ -15,6 +15,7 @@ public:
virtual void click(const sf::Event::MouseButtonEvent &click) {}
virtual void keyPress(const sf::Event::KeyEvent &event) {}
virtual void zoom(float factor) {}
+ virtual void pan(int dx, int dy) {};
protected:
float _zoom = 1;