Implement Species destructor of base.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
450753cb50
commit
4ee5a14b4c
|
@ -44,7 +44,7 @@ class PkmnLibConan(ConanFile):
|
||||||
self.options["AngelScript"].link_std_statically = True
|
self.options["AngelScript"].link_std_statically = True
|
||||||
|
|
||||||
def requirements(self):
|
def requirements(self):
|
||||||
self.requires("CreatureLib/f973259bef30b9ba1ff095884c81f0e5f4b94a09@creaturelib/master")
|
self.requires("CreatureLib/3f57051219232f42bacf3475d231cfe693e1e101@creaturelib/master")
|
||||||
if self.options.script_handler == "angelscript":
|
if self.options.script_handler == "angelscript":
|
||||||
self.requires("AngelScript/2.34@AngelScript/Deukhoofd")
|
self.requires("AngelScript/2.34@AngelScript/Deukhoofd")
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -16,6 +16,8 @@ namespace PkmnLib::Library {
|
||||||
: CreatureSpecies(id, name, defaultVariant, genderRatio, growthRate, captureRate),
|
: CreatureSpecies(id, name, defaultVariant, genderRatio, growthRate, captureRate),
|
||||||
_baseHappiness(baseHappiness) {}
|
_baseHappiness(baseHappiness) {}
|
||||||
|
|
||||||
|
~PokemonSpecies() override = default;
|
||||||
|
|
||||||
inline uint8_t GetBaseHappiness() const { return _baseHappiness; }
|
inline uint8_t GetBaseHappiness() const { return _baseHappiness; }
|
||||||
|
|
||||||
inline const PokemonForme* GetDefaultForme() const {
|
inline const PokemonForme* GetDefaultForme() const {
|
||||||
|
|
Loading…
Reference in New Issue