21 lines
277 B
C++
21 lines
277 B
C++
#pragma once
|
|
|
|
#include "Weapon.hpp"
|
|
#include <string>
|
|
|
|
class HumanB
|
|
{
|
|
public:
|
|
HumanB(const std::string& name);
|
|
HumanB(const HumanB& src);
|
|
~HumanB();
|
|
|
|
void attack();
|
|
void setWeapon(const Weapon& weapon);
|
|
|
|
private:
|
|
const Weapon* _weapon;
|
|
std::string _name;
|
|
|
|
};
|