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

@ -2,6 +2,7 @@
#define PLAYER_BODY_H
#include "scene/3d/physics/character_body_3d.h"
class WeaponInventory;
class PlayerBody : public CharacterBody3D {
GDCLASS(PlayerBody, CharacterBody3D);
@ -32,6 +33,8 @@ private:
float acceleration{ 40.f };
float jump_strength{ 3.5f };
Vector2 movement_input{};
WeaponInventory *weapons;
};
#endif // !PLAYER_BODY_H