Allow getting Static Library from BattleLibrary.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
18236981ed
commit
dd8d4d738d
|
@ -10,6 +10,7 @@
|
|||
|
||||
namespace CreatureLib::Battling {
|
||||
class BattleLibrary {
|
||||
protected:
|
||||
const Library::DataLibrary* _staticLib = nullptr;
|
||||
BattleStatCalculator* _statCalculator = nullptr;
|
||||
DamageLibrary* _damageLibrary = nullptr;
|
||||
|
@ -22,6 +23,7 @@ namespace CreatureLib::Battling {
|
|||
DamageLibrary* damageLibrary, ExperienceLibrary* experienceLibrary,
|
||||
ScriptResolver* scriptResolver, MiscLibrary* miscLibrary);
|
||||
~BattleLibrary();
|
||||
inline const Library::DataLibrary* GetStaticLib() const { return _staticLib; }
|
||||
|
||||
[[nodiscard]] const Library::LibrarySettings& GetSettings() const;
|
||||
[[nodiscard]] const Library::SpeciesLibrary* GetSpeciesLibrary() const;
|
||||
|
|
Loading…
Reference in New Issue