debut d01 ex03
This commit is contained in:
26
d01/ex03/HumanB.hpp
Normal file
26
d01/ex03/HumanB.hpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user