// // Created by David Hackbarth on 21.09.26. // #ifndef CLASSES_MONSTER_H #define CLASSES_MONSTER_H #include "Entity.h" #include "IComparable.h" #include "Weapon.h" class Monster : public Entity, public IComparable { public: // default constructor, copy constructor & destructor, if you need one you'll need all of them // internal pointers often requires a deep copy and so a default constructor & a copy constructor & a destructor Monster(); Monster(string name); Monster(const Monster& other); ~Monster() override; string toString() override; int compareTo(const IComparable& other) const override; // void assignWeapon(Weapon* weapon); protected: Weapon* _pWeapon = nullptr; }; #endif //CLASSES_MONSTER_H