refactor: moved mob functions

This commit is contained in:
2021-12-11 19:30:31 +01:00
parent 6b5c56b37d
commit 0af4cd506c
8 changed files with 219 additions and 182 deletions

View File

@@ -46,8 +46,8 @@ public:
const PlayerList& getPlayers() const { return m_Players; }
PlayerList& getPlayers() { return m_Players; }
const Player& getPlayerById(PlayerID id) const { return m_Players.find(id)->second; }
Player& getPlayerById(PlayerID id) { return m_Players.find(id)->second; }
const Player* getPlayerById(PlayerID id) const;
Player* getPlayerById(PlayerID id);
};