diff options
author | mafaldo <mafaldo@heavyhammer.home> | 2018-02-12 19:27:49 +0100 |
---|---|---|
committer | mafaldo <mafaldo@heavyhammer.home> | 2018-02-12 19:27:49 +0100 |
commit | 07ac0fe25109717d4d7f9bcc7ae313a25b839cb0 (patch) | |
tree | 509c740828e2cae12e8e5de48c13219349d43d3b /src/main/headers | |
parent | Edit makefile to build and run c++ by default (diff) | |
download | Subconscious-old-07ac0fe25109717d4d7f9bcc7ae313a25b839cb0.tar.gz Subconscious-old-07ac0fe25109717d4d7f9bcc7ae313a25b839cb0.zip |
add pan
Diffstat (limited to 'src/main/headers')
-rw-r--r-- | src/main/headers/Scene.hpp | 1 |
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; |