diff options
| author | Dominik Kaiser | 2025-02-10 13:00:31 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-02-10 13:00:31 +0100 |
| commit | eaf8c2c6840386a9610c165447357cdd98a77d26 (patch) | |
| tree | c13ec56912fadcfc4e81e551fe3bbbe966d024aa /ex03/HumanB.hpp | |
| parent | 57e945f03e37e741a527f07fdcd84307733635e7 (diff) | |
| download | cpp01-eaf8c2c6840386a9610c165447357cdd98a77d26.tar.gz cpp01-eaf8c2c6840386a9610c165447357cdd98a77d26.zip | |
Implement HumanB class
Diffstat (limited to 'ex03/HumanB.hpp')
| -rw-r--r-- | ex03/HumanB.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ex03/HumanB.hpp b/ex03/HumanB.hpp index ce4edbd..c22b5c4 100644 --- a/ex03/HumanB.hpp +++ b/ex03/HumanB.hpp @@ -6,7 +6,7 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/02/10 12:00:55 by dkaiser #+# #+# */ -/* Updated: 2025/02/10 12:29:43 by dkaiser ### ########.fr */ +/* Updated: 2025/02/10 12:55:00 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -21,7 +21,7 @@ class HumanB public: HumanB(const std::string &name); void attack(void) const; - void setWeapon(Weapon *weapon); + void setWeapon(Weapon &weapon); private: Weapon* weapon; std::string name; |
