aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Bullet.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/headers/Bullet.hpp')
-rw-r--r--src/main/headers/Bullet.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/headers/Bullet.hpp b/src/main/headers/Bullet.hpp
index e38c3f2..6ab5dbe 100644
--- a/src/main/headers/Bullet.hpp
+++ b/src/main/headers/Bullet.hpp
@@ -3,10 +3,11 @@
#include "Item.hpp"
-class Bullet : public Item
+class Bullet : protected Item
{
public:
- bool use(RangedWeapon &weapon);
-}
+ virtual bool use(RangedWeapon &weapon);
+ virtual bool decreaseAmount(int qnt);
+};
#endif