aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/RangedWeapon.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/headers/RangedWeapon.hpp')
-rw-r--r--src/main/headers/RangedWeapon.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/headers/RangedWeapon.hpp b/src/main/headers/RangedWeapon.hpp
index 57b6ea4..0cc3be1 100644
--- a/src/main/headers/RangedWeapon.hpp
+++ b/src/main/headers/RangedWeapon.hpp
@@ -1,10 +1,18 @@
#ifndef RANGEDWEAPON_HPP
#define RANGEDWEAPON_HPP
+#include "Actor.hpp"
+#include "Weapon.hpp"
+
#include <string>
class RangedWeapon : public Weapon
{
+public:
+ RangedWeapon(const std::string &name);
+ bool use(Actor &user, Actor &actor);
+ void reload(Actor &actor);
+
protected:
bool _charged;
unsigned _range;