From dc0cc293b7b8efed67a0a550237dce38f33ff37d Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 14 Feb 2023 00:51:49 +0100 Subject: Replaced Context+Battle combo with State and arbitrary Systems --- sim/src/TeamManager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sim/src/TeamManager.h') diff --git a/sim/src/TeamManager.h b/sim/src/TeamManager.h index 7f53510..d708745 100644 --- a/sim/src/TeamManager.h +++ b/sim/src/TeamManager.h @@ -5,7 +5,7 @@ #include -#include +#include namespace kurator @@ -19,10 +19,10 @@ class TeamManager public: using Team = std::vector; TeamManager(); - void extend(entt::registry& registry); + void extend(State& ctx); void add(int team, entt::entity entity); entt::entity random(int exclude); - void update(engine::Context& ctx); + void update(State& ctx); private: std::vector teams; std::mt19937 generator; -- cgit v1.1