diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-07-30 11:02:39 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-07-30 11:02:39 -0400 |
commit | b1f93a4f8a5a3e84db9f00d0b41749d4fb32ed26 (patch) | |
tree | 83016b80294f6b7681093ae46aa55840b6fb9ec1 /src/systems/dialog.cpp | |
parent | 69768fdc5050bbe5877bf80108584400ea292a4f (diff) |
event feature work; ozone bgm redone
Diffstat (limited to 'src/systems/dialog.cpp')
-rw-r--r-- | src/systems/dialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systems/dialog.cpp b/src/systems/dialog.cpp index 87327ca..dd07ab8 100644 --- a/src/systems/dialog.cpp +++ b/src/systems/dialog.cpp @@ -25,7 +25,7 @@ void DialogSystem::configure(entityx::EventManager &ev) ev.subscribe<MouseClickEvent>(*this); } -void DialogSystem::receive(const MouseClickEvent &mce) +bool DialogSystem::receive(const MouseClickEvent &mce) { game::entities.each<Position, Solid, Dialog, Name>( [&](entityx::Entity e, Position &pos, Solid &dim, Dialog &d, Name &name) { @@ -144,6 +144,7 @@ void DialogSystem::receive(const MouseClickEvent &mce) } } }); + return true; } void DialogSystem::update(entityx::EntityManager &en, entityx::EventManager &ev, entityx::TimeDelta dt) |