diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-10-12 08:25:59 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-10-12 08:25:59 -0400 |
commit | 1493986b6b22d83cf6c1641a02202bd7b36258a1 (patch) | |
tree | 884f5aa69f782a4fb2d3694584aaca90a93a174a /include/events.hpp | |
parent | f46be773dd1283688ec1feda1c50e6edaf6d1113 (diff) |
worldsystem gets music
Diffstat (limited to 'include/events.hpp')
-rw-r--r-- | include/events.hpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/events.hpp b/include/events.hpp index 4d1415c..7f70c04 100644 --- a/include/events.hpp +++ b/include/events.hpp @@ -9,6 +9,8 @@ #include <string> +class World; + struct MouseScrollEvent { MouseScrollEvent(int sd = 0) : scrollDistance(sd) {} @@ -38,10 +40,11 @@ struct GameEndEvent { }; struct BGMToggleEvent { - BGMToggleEvent(std::string f) - : file(f) {} + BGMToggleEvent(std::string f = "", World *w = nullptr) + : file(f), world(w) {} std::string file; -} + World *world; +}; #endif // EVENTS_HPP_ |