aboutsummaryrefslogtreecommitdiffstats
path: root/src/weapon.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-07 00:33:33 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-07 00:33:44 +0100
commit43852f3019c02645e625946fe8c237070eef6a2f (patch)
treee78b3423e6cda8e8d9dd3a5ef23e15184571978e /src/weapon.hpp
parentalmost there (diff)
downloadthreshold-43852f3019c02645e625946fe8c237070eef6a2f.tar.gz
threshold-43852f3019c02645e625946fe8c237070eef6a2f.tar.bz2
threshold-43852f3019c02645e625946fe8c237070eef6a2f.tar.xz
threshold-43852f3019c02645e625946fe8c237070eef6a2f.tar.zst
threshold-43852f3019c02645e625946fe8c237070eef6a2f.zip
weapons ready to be implemented. release v0.0.5
Diffstat (limited to 'src/weapon.hpp')
-rw-r--r--src/weapon.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapon.hpp b/src/weapon.hpp
index a5099d2..ca03de3 100644
--- a/src/weapon.hpp
+++ b/src/weapon.hpp
@@ -30,7 +30,7 @@ public:
AWeapon(float const &rg, unsigned int const &dmg, unsigned int const & mag, const char *s, const char *r);
~AWeapon();
- virtual int bang(std::vector<Entity> * enemies, Vector2 playerDirection, Vector2 playerPosition) = 0;
+ virtual int bang(std::vector<Entity> * enemies, Vector2 playerDirection, Vector2 playerPosition, int * victims) = 0;
void refill();
bool empty;