diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-07 13:52:28 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-07 13:52:28 +0100 |
commit | 990ca25986157ce629b07d43257e0fbf36071317 (patch) | |
tree | 84dc750555b2fdad82fdcdea16d031c247a95809 /src/weapon.hpp | |
parent | add new weapon, AR and add switching weapons (diff) | |
download | threshold-990ca25986157ce629b07d43257e0fbf36071317.tar.gz threshold-990ca25986157ce629b07d43257e0fbf36071317.tar.bz2 threshold-990ca25986157ce629b07d43257e0fbf36071317.tar.xz threshold-990ca25986157ce629b07d43257e0fbf36071317.tar.zst threshold-990ca25986157ce629b07d43257e0fbf36071317.zip |
references are weaird, man
Diffstat (limited to 'src/weapon.hpp')
-rw-r--r-- | src/weapon.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/weapon.hpp b/src/weapon.hpp index cce6c50..36ac542 100644 --- a/src/weapon.hpp +++ b/src/weapon.hpp @@ -30,7 +30,12 @@ protected: unsigned int const &damage; public: - AWeapon(float const &rg, unsigned int const &dmg, unsigned int const & mag, const char *s, const char *r); + AWeapon(float const &rg, + unsigned int const &dmg, + unsigned int const & mag, + double const & cooldown, + const char *s, + const char *r); ~AWeapon(); virtual int bang(std::vector<Entity> * enemies, Vector2 playerDirection, Vector2 playerPosition, int * victims) = 0; |