aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/MeleeWeapon.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-25 21:11:43 +0100
committerNao Pross <naopross@thearcway.org>2018-02-25 21:11:43 +0100
commit20b958c69451dd8251a8899cf7264d5c92ed7c60 (patch)
tree440ec68a189efdf42a21a9d621b6de2c04305fb5 /src/main/headers/MeleeWeapon.hpp
parentUpdate CMakeLists and Makefile (diff)
downloadSubconscious-old-20b958c69451dd8251a8899cf7264d5c92ed7c60.tar.gz
Subconscious-old-20b958c69451dd8251a8899cf7264d5c92ed7c60.zip
Better management of stats and skill of actors and items
Diffstat (limited to 'src/main/headers/MeleeWeapon.hpp')
-rw-r--r--src/main/headers/MeleeWeapon.hpp7
1 files changed, 1 insertions, 6 deletions
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: