aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/include/eventManager.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-10-25 20:57:31 +0200
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-10-25 20:57:31 +0200
commitebd163e3aacac74df1772d5bd794d2691918d324 (patch)
tree7c71dfd6afa29a777018e5c804dff15c2a0f6ec2 /mwe/events/include/eventManager.h
parentb5e83d076f356c6d01b7bbc1f033db4850356c0d (diff)
collision event added, multiple callbacks working, id trigger working
Diffstat (limited to 'mwe/events/include/eventManager.h')
-rw-r--r--mwe/events/include/eventManager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mwe/events/include/eventManager.h b/mwe/events/include/eventManager.h
index 709796a..b8abccc 100644
--- a/mwe/events/include/eventManager.h
+++ b/mwe/events/include/eventManager.h
@@ -26,9 +26,9 @@ public:
private:
EventManager() = default;
- std::vector<std::pair<std::unique_ptr<Event>, int>> m_eventsQueue;
- std::unordered_map<int, std::vector<std::unique_ptr<IEventHandlerWrapper>>> m_subscribers;
- std::unordered_map<int, std::unordered_map<int, std::vector<std::unique_ptr<IEventHandlerWrapper>>>> m_subscribersByEventId;
+ std::vector<std::pair<std::unique_ptr<Event>, int>> eventsQueue;
+ std::unordered_map<int, std::vector<std::unique_ptr<IEventHandlerWrapper>>> subscribers;
+ std::unordered_map<int, std::unordered_map<int, std::vector<std::unique_ptr<IEventHandlerWrapper>>>> subscribersByEventId;
};