2021-01-24 14:40:11 -05:00
|
|
|
#ifndef ENEMY_H
|
|
|
|
#define ENEMY_H
|
|
|
|
|
2021-01-25 21:40:08 -05:00
|
|
|
#include "Weapon.h"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2021-01-24 14:40:11 -05:00
|
|
|
class Enemy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Enemy();
|
2021-01-25 21:40:08 -05:00
|
|
|
Enemy(std::string setName,
|
|
|
|
int setHitPoints,
|
|
|
|
int setGold,
|
|
|
|
const Weapon &setWeapon);
|
|
|
|
|
|
|
|
bool Alive() const;
|
|
|
|
std::string getName() const;
|
|
|
|
int getHitPoints() const;
|
|
|
|
int getGold() const;
|
|
|
|
Weapon getWeapon() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::string name;
|
|
|
|
int hitPoints;
|
|
|
|
int gold;
|
|
|
|
Weapon weapon;
|
2021-01-24 14:40:11 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|