diff options
Diffstat (limited to 'ex03/HumanA.hpp')
| -rw-r--r-- | ex03/HumanA.hpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ex03/HumanA.hpp b/ex03/HumanA.hpp index 0c8cde6..b373665 100644 --- a/ex03/HumanA.hpp +++ b/ex03/HumanA.hpp @@ -6,11 +6,24 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/02/10 11:59:28 by dkaiser #+# #+# */ -/* Updated: 2025/02/10 11:59:50 by dkaiser ### ########.fr */ +/* Updated: 2025/02/10 12:25:54 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef HUMANA_H_ #define HUMANA_H_ +#include "Weapon.hpp" +#include <string> + +class HumanA +{ + public: + HumanA(const std::string &name, const Weapon &weapon); + void attack(void) const; + private: + Weapon weapon; + std::string name; +}; + #endif |
