55 int getHealth(
const Enemy &enemy);
62 int getAttack(
const Enemy &enemy);
69 std::string getName(
const Enemy &enemy);
76 std::string getType(
const Enemy &enemy);
83 std::string getPersonality(
const Enemy &enemy);
90 int getDefence(
const Enemy &enemy);
97 bool isDead(
const Enemy &enemy);
104 void damageDelt(
Enemy &enemy,
int hurt);
125 std::string generateName();
131 int generateHealth();
137 int generateAttack();
143 std::string generateType();
149 std::string generatePersonality();
155 int generateDefence();
Represents an enemy character in the game.
Definition: enemies.h:19
int attack
The attack power of the enemy.
Definition: enemies.h:23
int defence
The defense value of the enemy.
Definition: enemies.h:26
int health
The health points of the enemy.
Definition: enemies.h:22
std::string type
The type or category of the enemy.
Definition: enemies.h:24
std::string name
The name of the enemy.
Definition: enemies.h:21
Responsible for spawning enemies in the game.
Definition: enemies.h:35
std::string personality
The personality trait of the enemy.
Definition: enemies.h:25