summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-02-12 00:59:56 +0100
committerAki <please@ignore.pl>2023-02-12 00:59:56 +0100
commit25c9ae798c563e77edac7195777e219a00ca20f7 (patch)
tree5b6409ad896236d0f2c4526a68d4895596b6d016 /sim
parent26f5a5069dbbb4339074076d535caa0860d3b565 (diff)
downloadkurator-25c9ae798c563e77edac7195777e219a00ca20f7.zip
kurator-25c9ae798c563e77edac7195777e219a00ca20f7.tar.gz
kurator-25c9ae798c563e77edac7195777e219a00ca20f7.tar.bz2
Removed unused get from team manager
Diffstat (limited to 'sim')
-rw-r--r--sim/src/TeamManager.cpp7
-rw-r--r--sim/src/TeamManager.h1
2 files changed, 0 insertions, 8 deletions
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<entt::entity>;
TeamManager();
void add(int team, entt::entity entity);
- Team get(int team) const;
entt::entity random(int exclude);
void update(engine::Context& ctx);
private: