diff options
Diffstat (limited to '')
-rw-r--r-- | src/weapon.hpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/weapon.hpp b/src/weapon.hpp index 9a3f875..1b6b57a 100644 --- a/src/weapon.hpp +++ b/src/weapon.hpp @@ -9,12 +9,20 @@ #ifndef WEAPON_H_ #define WEAPON_H_ +#include "raylib.h" + class Weapon { - public: - float const & range; - unsigned int const & damage; - Weapon(float const & rg, unsigned int const & dmg); - ~Weapon(); + Sound shot; + Sound reload; + + float const ⦥ + unsigned int const &damage; + +public: + Weapon(float const &rg, unsigned int const &dmg, const char *s, const char *r); + ~Weapon(); + + void bang() const ; }; #endif // WEAPON_H_ |