feat: implementations of initial weapon inventory interface

This commit is contained in:
Sara 2025-07-15 23:01:28 +02:00
parent 6cdb2cbd4f
commit 6fa9d11af5
12 changed files with 126 additions and 11 deletions

View file

@ -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 };