aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Weapon.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/headers/Weapon.hpp')
-rw-r--r--src/main/headers/Weapon.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/headers/Weapon.hpp b/src/main/headers/Weapon.hpp
index ef9d3d5..4c134ea 100644
--- a/src/main/headers/Weapon.hpp
+++ b/src/main/headers/Weapon.hpp
@@ -4,11 +4,15 @@
#include "Item.hpp"
#include "Actor.hpp"
+#include <string>
+
class Weapon : public Item
{
protected:
unsigned _damage;
unsigned _requiredLevel;
+
+ Weapon(const std::string &name) : Item(name) {}
};
#endif