diff options
| author | Dominik Kaiser | 2025-02-10 12:21:03 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-02-10 12:21:03 +0100 |
| commit | 4b927759598b01c486063d09551303a936752956 (patch) | |
| tree | ef14c78c0724c0569362566ce462614207d1ef93 /ex03/Weapon.hpp | |
| parent | 5d5fe99ae155c42023b6696f719d7a537798ee41 (diff) | |
| download | cpp01-4b927759598b01c486063d09551303a936752956.tar.gz cpp01-4b927759598b01c486063d09551303a936752956.zip | |
Add and implement Weapon class
Diffstat (limited to 'ex03/Weapon.hpp')
| -rw-r--r-- | ex03/Weapon.hpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ex03/Weapon.hpp b/ex03/Weapon.hpp index ee8c299..917b367 100644 --- a/ex03/Weapon.hpp +++ b/ex03/Weapon.hpp @@ -6,11 +6,23 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/02/10 11:58:44 by dkaiser #+# #+# */ -/* Updated: 2025/02/10 11:59:10 by dkaiser ### ########.fr */ +/* Updated: 2025/02/10 12:09:57 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef WEAPON_H_ #define WEAPON_H_ +#include <string> + +class Weapon +{ + public: + Weapon(void); + const std::string& getType(void) const; + void setType(const std::string &type); + private: + std::string type; +}; + #endif |
