From 3472e0de54bbfa63517de8db7d665b732389ae85 Mon Sep 17 00:00:00 2001 From: mafaldo Date: Mon, 12 Feb 2018 23:43:14 +0100 Subject: Add RangedWeapon, MeleeWeapon --- src/main/headers/Weapon.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/headers/Weapon.hpp') 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 + class Weapon : public Item { protected: unsigned _damage; unsigned _requiredLevel; + + Weapon(const std::string &name) : Item(name) {} }; #endif -- cgit v1.2.1