aboutsummaryrefslogtreecommitdiffstats
path: root/src/weapon.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-07 13:38:58 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-07 13:38:58 +0100
commit24cbda44818cf3a866685638ef6cdbf466a1fb1a (patch)
tree1b3d12e3e39ba1635c183bb1a69fbc82da10f888 /src/weapon.hpp
parentVERSION 0.0.5 AND A HALF (diff)
downloadthreshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.tar.gz
threshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.tar.bz2
threshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.tar.xz
threshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.tar.zst
threshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.zip
add new weapon, AR and add switching weapons
Diffstat (limited to '')
-rw-r--r--src/weapon.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/weapon.hpp b/src/weapon.hpp
index ca03de3..cce6c50 100644
--- a/src/weapon.hpp
+++ b/src/weapon.hpp
@@ -22,6 +22,9 @@ protected:
unsigned int max;
+ double cooldown;
+ double t;
+
float const &range;
unsigned int const &damage;