diff options
Diffstat (limited to 'src/main/headers/MeleeWeapon.hpp')
-rw-r--r-- | src/main/headers/MeleeWeapon.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/headers/MeleeWeapon.hpp b/src/main/headers/MeleeWeapon.hpp new file mode 100644 index 0000000..e031333 --- /dev/null +++ b/src/main/headers/MeleeWeapon.hpp @@ -0,0 +1,21 @@ +#ifndef MELEEWEAPON_HPP +#define MELEEWEAPON_HPP + +#include "Weapon.hpp" +#include "Actor.hpp" + + +class MeleeWeapon : public Weapon +{ +public: + enum Type { + SWORD, AXE, LANCE + }; + + virtual bool use(Actor &actor); + +protected: + bool _throwable; +}; + +#endif |