feat: added revolver
This commit is contained in:
parent
3b22cd86f7
commit
6eba3b0454
17 changed files with 195 additions and 29 deletions
|
|
@ -9,10 +9,10 @@ class HitscanMuzzle;
|
|||
class Rifle : public WeaponBase {
|
||||
GDCLASS(Rifle, WeaponBase);
|
||||
static void _bind_methods();
|
||||
void queue_start_aim();
|
||||
void queue_stop_ads_anim();
|
||||
void queue_start_run_anim();
|
||||
void stop_run_anim();
|
||||
void queue_enter_alt();
|
||||
void queue_exit_alt();
|
||||
void queue_enter_run();
|
||||
void exit_run();
|
||||
void shoot();
|
||||
void play_equip_anim();
|
||||
void on_primary_fire(bool down);
|
||||
|
|
@ -24,11 +24,11 @@ class Rifle : public WeaponBase {
|
|||
|
||||
public:
|
||||
void _notification(int what);
|
||||
virtual PackedStringArray get_configuration_warnings() const override;
|
||||
|
||||
virtual bool allows_running() const override;
|
||||
bool run_requested() const;
|
||||
virtual void notify_selected() override;
|
||||
bool is_animating() const;
|
||||
|
||||
void set_ads_factor(float value);
|
||||
float get_ads_factor() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue