aboutsummaryrefslogtreecommitdiffstats
path: root/src/weapon.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-05 21:42:26 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-05 21:42:26 +0100
commit4e266c0e8f0b49cb39f3f2c3bc43d0bc09cc3aca (patch)
treed35d35c340e63589350c351738d4af3dab68e3d8 /src/weapon.hpp
parentterrain is fukkkkd (diff)
downloadthreshold-4e266c0e8f0b49cb39f3f2c3bc43d0bc09cc3aca.tar.gz
threshold-4e266c0e8f0b49cb39f3f2c3bc43d0bc09cc3aca.tar.bz2
threshold-4e266c0e8f0b49cb39f3f2c3bc43d0bc09cc3aca.tar.xz
threshold-4e266c0e8f0b49cb39f3f2c3bc43d0bc09cc3aca.tar.zst
threshold-4e266c0e8f0b49cb39f3f2c3bc43d0bc09cc3aca.zip
reload works
Diffstat (limited to 'src/weapon.hpp')
-rw-r--r--src/weapon.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/weapon.hpp b/src/weapon.hpp
index 61d3ace..902b55f 100644
--- a/src/weapon.hpp
+++ b/src/weapon.hpp
@@ -18,6 +18,7 @@ class Weapon {
unsigned int barrel;
unsigned int max;
+
float const &range;
unsigned int const &damage;
@@ -27,6 +28,8 @@ public:
int bang();
void refill();
+
+ bool empty;
};
#endif // WEAPON_H_