aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Bullet.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-25 21:11:43 +0100
committerNao Pross <naopross@thearcway.org>2018-02-25 21:11:43 +0100
commit20b958c69451dd8251a8899cf7264d5c92ed7c60 (patch)
tree440ec68a189efdf42a21a9d621b6de2c04305fb5 /src/main/headers/Bullet.hpp
parentUpdate CMakeLists and Makefile (diff)
downloadSubconscious-old-20b958c69451dd8251a8899cf7264d5c92ed7c60.tar.gz
Subconscious-old-20b958c69451dd8251a8899cf7264d5c92ed7c60.zip
Better management of stats and skill of actors and items
Diffstat (limited to 'src/main/headers/Bullet.hpp')
-rw-r--r--src/main/headers/Bullet.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/headers/Bullet.hpp b/src/main/headers/Bullet.hpp
index b12c614..db5cdff 100644
--- a/src/main/headers/Bullet.hpp
+++ b/src/main/headers/Bullet.hpp
@@ -2,12 +2,11 @@
#define BULLET_HPP
#include "Item.hpp"
-#include "RangedWeapon.hpp"
-class Bullet : protected Item
+class Bullet : public Item
{
public:
- virtual bool use(RangedWeapon &weapon);
+ virtual bool use() { return false; }
virtual bool decreaseAmount(unsigned qnt);
};