feat: implementations of initial weapon inventory interface
This commit is contained in:
parent
6cdb2cbd4f
commit
6fa9d11af5
12 changed files with 126 additions and 11 deletions
|
|
@ -22,6 +22,10 @@ public:
|
|||
void set_body(PlayerBody *body);
|
||||
PlayerBody *get_body() const;
|
||||
|
||||
virtual bool allows_running() const { return true; }
|
||||
virtual bool allows_jumping() const { return true; }
|
||||
virtual void notify_selected() {}
|
||||
|
||||
private:
|
||||
AnimationPlayer *anim{ nullptr };
|
||||
PlayerCamera *camera{ nullptr };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue