27 lines
289 B
C++
27 lines
289 B
C++
#ifndef HUMANB_HPP
|
|
# define HUMANB_HPP
|
|
|
|
#include "Weapon.hpp"
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
class HumanB {
|
|
|
|
public:
|
|
|
|
HumanB( std::string name );
|
|
~HumanB();
|
|
|
|
void attack( void );
|
|
void setWeapon( Weapon &weapon );
|
|
|
|
private:
|
|
|
|
std::string _name;
|
|
Weapon * _weapon;
|
|
|
|
};
|
|
|
|
#endif
|
|
|