From 20b958c69451dd8251a8899cf7264d5c92ed7c60 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 25 Feb 2018 21:11:43 +0100 Subject: Better management of stats and skill of actors and items --- src/main/headers/MeleeWeapon.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/main/headers/MeleeWeapon.hpp') diff --git a/src/main/headers/MeleeWeapon.hpp b/src/main/headers/MeleeWeapon.hpp index 97a0930..e7917b8 100644 --- a/src/main/headers/MeleeWeapon.hpp +++ b/src/main/headers/MeleeWeapon.hpp @@ -10,13 +10,8 @@ class MeleeWeapon : public Weapon { public: - enum Type { - SWORD, AXE, LANCE - }; - const Type type; - - MeleeWeapon(Type t, const std::string &name, bool throwable); + MeleeWeapon(Weapon::Class weaponClass, const std::string &name, bool throwable); bool use(Actor &user, Actor &actor); protected: -- cgit v1.2.1