#ifndef CREATURE_H #define CREATURE_H #include "DynamicArray.h" class Creature { protected: unsigned int hp; int attack, defence; char* name; unsigned long long exp; unsigned int level; bool gender;//female = 1 male = 0 unsigned int mana; DynamicArray inventory; public: Creature(); Creature(unsigned int, int, int, char*,unsigned int, bool); Creature(const Creature&); ~Creature (); Creature& operator=(const Creature&); unsigned int getHp() const; int getAttack() const; int getDefence() const; char const* getName() const; void print() const; int receiveDamage(int); void attack_creature(Creature&); void setExp(int ); bool addItem(const Item&); bool delItem(const char*); }; #endif // CREATURE_H