feat: implemented bullet impacts

This commit is contained in:
Sara 2025-07-19 12:33:40 +02:00
parent 7a5c129bb9
commit a7b3f97b3b
14 changed files with 644 additions and 12 deletions

View file

@ -4,6 +4,7 @@
#include "wave_survival/player_camera.h"
#include "wave_survival/weapon_base.h"
class PlayerBody;
class HitscanMuzzle;
class Rifle : public WeaponBase {
GDCLASS(Rifle, WeaponBase);
@ -35,6 +36,8 @@ private:
bool request_alt_mode{ false };
bool in_alt_mode{ false };
bool running{ false };
HitscanMuzzle *muzzle{ nullptr };
};
#endif // !WEAPONS_RIFLE_H