feat: implemented bullet impacts
This commit is contained in:
parent
7a5c129bb9
commit
a7b3f97b3b
14 changed files with 644 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue