Give Creature a virtual destructor.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
2a98f051c9
commit
df3905fa49
|
@ -52,6 +52,8 @@ namespace CreatureLib::Battling{
|
||||||
uint32_t uid, Library::Gender gender, uint8_t coloring, const Library::Item* heldItem, std::string nickname,
|
uint32_t uid, Library::Gender gender, uint8_t coloring, const Library::Item* heldItem, std::string nickname,
|
||||||
int8_t talent, std::vector<LearnedAttack*> attacks);
|
int8_t talent, std::vector<LearnedAttack*> attacks);
|
||||||
|
|
||||||
|
virtual ~Creature() = default;
|
||||||
|
|
||||||
const std::string& GetNickname() const;
|
const std::string& GetNickname() const;
|
||||||
const std::string& GetTalent() const;
|
const std::string& GetTalent() const;
|
||||||
void ChangeLevel(int8_t amount);
|
void ChangeLevel(int8_t amount);
|
||||||
|
|
Loading…
Reference in New Issue