aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/cpp/Subconscious.cpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-16 19:06:14 +0100
committerNao Pross <naopross@thearcway.org>2018-02-16 19:06:14 +0100
commit0bb4b12a7ed47619dff6fd748dc0d57d0b67f79c (patch)
tree3b1eef64691511de82ad858463f2160ea5b0f92a /src/main/cpp/Subconscious.cpp
parentAdd RangedWeapon, MeleeWeapon (diff)
downloadSubconscious-old-0bb4b12a7ed47619dff6fd748dc0d57d0b67f79c.tar.gz
Subconscious-old-0bb4b12a7ed47619dff6fd748dc0d57d0b67f79c.zip
Add resources xml templates, call Scene::click on mouseclick
Diffstat (limited to 'src/main/cpp/Subconscious.cpp')
-rw-r--r--src/main/cpp/Subconscious.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/cpp/Subconscious.cpp b/src/main/cpp/Subconscious.cpp
index 5d04e5c..f1d4e79 100644
--- a/src/main/cpp/Subconscious.cpp
+++ b/src/main/cpp/Subconscious.cpp
@@ -67,6 +67,7 @@ void Subconscious::run()
/*** Mouse Events ***/
case sf::Event::MouseButtonPressed:
+ _currentScene->click(event.mouseButton);
break;
case sf::Event::MouseButtonReleased: