feat: added revolver
This commit is contained in:
parent
3b22cd86f7
commit
6eba3b0454
17 changed files with 195 additions and 29 deletions
|
|
@ -14,8 +14,10 @@ class WeaponBase : public Node3D {
|
|||
|
||||
protected:
|
||||
void _notification(int what);
|
||||
virtual PackedStringArray get_configuration_warnings() const override;
|
||||
|
||||
public:
|
||||
bool is_animating() const;
|
||||
void set_anim(AnimationPlayer *player);
|
||||
AnimationPlayer *get_anim() const;
|
||||
PlayerInput *get_input() const;
|
||||
|
|
@ -24,7 +26,7 @@ public:
|
|||
void set_body(PlayerBody *body);
|
||||
PlayerBody *get_body() const;
|
||||
|
||||
virtual bool allows_running() const { return true; }
|
||||
virtual bool allows_running() const { return false; }
|
||||
virtual bool allows_jumping() const { return true; }
|
||||
virtual void notify_selected() {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue