aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Stick.hpp
diff options
context:
space:
mode:
authormafaldo <mafaldo@heavyhammer.home>2018-02-17 00:29:32 +0100
committermafaldo <mafaldo@heavyhammer.home>2018-02-17 00:29:32 +0100
commitaf3e76c5ee367ceffb78fa4a8ffc0eadf90e5de3 (patch)
tree24dcdaa94c20211974fca97e41647ff0dec31923 /src/main/headers/Stick.hpp
parentAdd cpack directive and update README (diff)
downloadSubconscious-old-af3e76c5ee367ceffb78fa4a8ffc0eadf90e5de3.tar.gz
Subconscious-old-af3e76c5ee367ceffb78fa4a8ffc0eadf90e5de3.zip
add Item type, use for MeleeWeapon
Diffstat (limited to '')
-rw-r--r--src/main/headers/Stick.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/headers/Stick.hpp b/src/main/headers/Stick.hpp
index 4ed2b45..724e36d 100644
--- a/src/main/headers/Stick.hpp
+++ b/src/main/headers/Stick.hpp
@@ -5,6 +5,13 @@
class Stick : public Item
{
+public:
+ Stick(const std::string &name);
+ bool use(Actor &user, Actor &actor);
+
+protected:
+ const int _maxUses;
+ int _remainingUses;
};