Add Creature getter for the library.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-07-25 15:02:11 +02:00
parent 8f921ce89b
commit e6f84f182a
2 changed files with 2 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ namespace CreatureLib::Battling {
_currentHealth = GetBoostedStat(Library::Statistic::Health);
}
inline const ArbUt::BorrowedPtr<const BattleLibrary>& GetLibrary() const noexcept { return _library; }
inline const ArbUt::BorrowedPtr<const Library::CreatureSpecies>& GetSpecies() const noexcept {
return _species;
}