feat: started work on reloading

This commit is contained in:
Sara 2025-08-05 16:20:55 +02:00
parent 2d720a983a
commit 150231c67c
17 changed files with 63 additions and 33 deletions

View file

@ -16,6 +16,7 @@ class Revolver : public WeaponBase {
void cock_hammer();
void on_primary_fire(bool pressed);
void on_alt_mode(bool pressed);
void on_reload();
void ready();
void process(double delta);
@ -43,7 +44,7 @@ private:
double recoil_time{ 0.1 };
double recoil_timer{ 0.0 };
double run_animation_delay{ 0.3 };
double run_animation_delay{ 0.8 };
double run_animation_timer{ 0.0 };
};