aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Weapon.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-12 22:09:40 +0100
committerNao Pross <naopross@thearcway.org>2018-02-12 22:09:40 +0100
commitc942f4295c810d8d36910c996d3c321f37419cd6 (patch)
tree7b462c18ae9c50782dc2edfd04aaba76f15828f4 /src/main/headers/Weapon.hpp
parentRemove Actor::Type and Scene::Type in favor of dynamic_cast<T>() (diff)
downloadSubconscious-old-c942f4295c810d8d36910c996d3c321f37419cd6.tar.gz
Subconscious-old-c942f4295c810d8d36910c996d3c321f37419cd6.zip
Add inventory and item types headers
Diffstat (limited to 'src/main/headers/Weapon.hpp')
-rw-r--r--src/main/headers/Weapon.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/headers/Weapon.hpp b/src/main/headers/Weapon.hpp
new file mode 100644
index 0000000..ef9d3d5
--- /dev/null
+++ b/src/main/headers/Weapon.hpp
@@ -0,0 +1,14 @@
+#ifndef WEAPON_HPP
+#define WEAPON_HPP
+
+#include "Item.hpp"
+#include "Actor.hpp"
+
+class Weapon : public Item
+{
+protected:
+ unsigned _damage;
+ unsigned _requiredLevel;
+};
+
+#endif