debut d01 ex03
This commit is contained in:
25
d01/ex03/HumanA.hpp
Normal file
25
d01/ex03/HumanA.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef HUMANA_HPP
|
||||
# define HUMANA_HPP
|
||||
|
||||
#include "Weapon.hpp"
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
class HumanA {
|
||||
|
||||
public:
|
||||
|
||||
HumanA( std::string name, Weapon weapon );
|
||||
~HumanA();
|
||||
|
||||
void attack( void );
|
||||
|
||||
private:
|
||||
|
||||
std::string _name;
|
||||
Weapon * _weapon;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user