blob: 38e175025409dd2a004e34d16784911fa90e93ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef RANGEDWEAPON_HPP
#define RANGEDWEAPON_HPP
#include "Actor.hpp"
#include "Weapon.hpp"
#include <string>
class RangedWeapon : public Weapon
{
public:
RangedWeapon(Weapon::Class c, const std::string &name);
bool use(Actor &user, Actor &actor);
bool reload(Actor &actor);
protected:
bool _charged;
unsigned _range;
};
#endif
|