diff options
Diffstat (limited to 'battles/src/TeamManager.h')
-rw-r--r-- | battles/src/TeamManager.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/battles/src/TeamManager.h b/battles/src/TeamManager.h deleted file mode 100644 index 384d9ee..0000000 --- a/battles/src/TeamManager.h +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -#include <random> -#include <vector> - -#include <entt/entity/registry.hpp> - - -namespace kurator -{ -namespace battles -{ - - -class TeamManager -{ -public: - using Team = std::vector<entt::entity>; - TeamManager(); - void add(int team, entt::entity entity); - Team get(int team) const; - entt::entity random(int team); - void clear(entt::registry& registry); -private: - std::vector<Team> teams; - std::mt19937 generator; -}; - - -} // namespace battles -} // namespace kurator |