aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Scene.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/headers/Scene.hpp')
-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;