19 lines
228 B
C++
19 lines
228 B
C++
|
|
#ifndef HUMANB_HPP
|
||
|
|
#define HUMANB_HPP
|
||
|
|
|
||
|
|
#include "Weapon.hpp"
|
||
|
|
class HumanB {
|
||
|
|
public:
|
||
|
|
HumanB(std::string name);
|
||
|
|
|
||
|
|
void setWeapon(Weapon &weapon);
|
||
|
|
|
||
|
|
void attack(void);
|
||
|
|
|
||
|
|
private:
|
||
|
|
Weapon *weapon;
|
||
|
|
std::string name;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|