aboutsummaryrefslogtreecommitdiffstats
path: root/src/weapon.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-04 23:52:04 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-04 23:52:04 +0100
commitb75a02c8f5c616eff6f21197c3e13056eefcb873 (patch)
treebee47f568de6d48a22d78043e05de198d5bec611 /src/weapon.hpp
parentshotty makes a sound (diff)
downloadthreshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.tar.gz
threshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.tar.bz2
threshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.tar.xz
threshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.tar.zst
threshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.zip
add fury, bang sound, colors and more
Diffstat (limited to 'src/weapon.hpp')
-rw-r--r--src/weapon.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/weapon.hpp b/src/weapon.hpp
index 1b6b57a..61d3ace 100644
--- a/src/weapon.hpp
+++ b/src/weapon.hpp
@@ -15,6 +15,9 @@ class Weapon {
Sound shot;
Sound reload;
+ unsigned int barrel;
+ unsigned int max;
+
float const &range;
unsigned int const &damage;
@@ -22,7 +25,8 @@ public:
Weapon(float const &rg, unsigned int const &dmg, const char *s, const char *r);
~Weapon();
- void bang() const ;
+ int bang();
+ void refill();
};
#endif // WEAPON_H_