From e732f10d32f96837f5787ab946bdbe6ba6bf6f2a Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 24 Dec 2022 01:56:28 +0100 Subject: Added end event to mark end of a battle --- sim/src/TeamManager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sim/src/TeamManager.h') diff --git a/sim/src/TeamManager.h b/sim/src/TeamManager.h index 050af94..502bed2 100644 --- a/sim/src/TeamManager.h +++ b/sim/src/TeamManager.h @@ -4,6 +4,7 @@ #include #include +#include namespace kurator @@ -21,6 +22,7 @@ public: Team get(int team) const; entt::entity random(int exclude); void clear(entt::registry& registry); + void update(entt::dispatcher& dispatcher); private: std::vector teams; std::mt19937 generator; -- cgit v1.1