Implements iterator functions for libraries.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-02-15 18:15:31 +01:00
parent 0b50d2bf43
commit a47f60cdf7
4 changed files with 8 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ namespace CreatureLib::Library {
void DeleteSpecies(const std::string& name);
size_t GetCount() const { return _species.size(); }
const std::unordered_map<std::string, const CreatureSpecies*>& GetIterator() { return _species; }
};
}