From 4b7e380d5f718fe557ef6ae068d7896620bc24f2 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Mon, 10 Feb 2025 12:32:47 +0100 Subject: Add HumanA and HumanB classes --- ex03/HumanB.hpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'ex03/HumanB.hpp') diff --git a/ex03/HumanB.hpp b/ex03/HumanB.hpp index d8ccdc8..ce4edbd 100644 --- a/ex03/HumanB.hpp +++ b/ex03/HumanB.hpp @@ -6,11 +6,25 @@ /* By: dkaiser + +class HumanB +{ + public: + HumanB(const std::string &name); + void attack(void) const; + void setWeapon(Weapon *weapon); + private: + Weapon* weapon; + std::string name; +}; + #endif -- cgit v1.2.3