summaryrefslogtreecommitdiff
path: root/ex03/HumanA.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ex03/HumanA.hpp')
-rw-r--r--ex03/HumanA.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ex03/HumanA.hpp b/ex03/HumanA.hpp
index b373665..b127c67 100644
--- a/ex03/HumanA.hpp
+++ b/ex03/HumanA.hpp
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/10 11:59:28 by dkaiser #+# #+# */
-/* Updated: 2025/02/10 12:25:54 by dkaiser ### ########.fr */
+/* Updated: 2025/02/10 12:51:15 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -19,10 +19,10 @@
class HumanA
{
public:
- HumanA(const std::string &name, const Weapon &weapon);
+ HumanA(const std::string &name, Weapon &weapon);
void attack(void) const;
private:
- Weapon weapon;
+ Weapon* weapon;
std::string name;
};