feat(ex03): it works
This commit is contained in:
parent
8f7b9c3068
commit
28784b50f0
9 changed files with 153 additions and 0 deletions
17
ex03/HumanA.hpp
Normal file
17
ex03/HumanA.hpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef HUMANA_HPP
|
||||
#define HUMANA_HPP
|
||||
|
||||
#include "Weapon.hpp"
|
||||
|
||||
class HumanA {
|
||||
public:
|
||||
HumanA(std::string name, Weapon &weapon);
|
||||
|
||||
void attack(void);
|
||||
|
||||
private:
|
||||
Weapon &weapon;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue