From 25c9ae798c563e77edac7195777e219a00ca20f7 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 12 Feb 2023 00:59:56 +0100 Subject: Removed unused get from team manager --- sim/src/TeamManager.cpp | 7 ------- sim/src/TeamManager.h | 1 - 2 files changed, 8 deletions(-) (limited to 'sim') diff --git a/sim/src/TeamManager.cpp b/sim/src/TeamManager.cpp index 0325c0c..7252acb 100644 --- a/sim/src/TeamManager.cpp +++ b/sim/src/TeamManager.cpp @@ -33,13 +33,6 @@ TeamManager::add(int team, entt::entity entity) } -TeamManager::Team -TeamManager::get(int team) const -{ - return teams.at(team); -} - - entt::entity TeamManager::random(const int exclude) { diff --git a/sim/src/TeamManager.h b/sim/src/TeamManager.h index f7cf1f6..4f6c0af 100644 --- a/sim/src/TeamManager.h +++ b/sim/src/TeamManager.h @@ -20,7 +20,6 @@ public: using Team = std::vector; TeamManager(); void add(int team, entt::entity entity); - Team get(int team) const; entt::entity random(int exclude); void update(engine::Context& ctx); private: -- cgit v1.1