feat: added configuration warnings to player body

This commit is contained in:
Sara 2025-07-25 21:06:59 +02:00
parent 4bec0ed5fc
commit 69daecea06
2 changed files with 16 additions and 1 deletions

View file

@ -20,6 +20,7 @@ class PlayerBody : public CharacterBody3D {
protected:
void _notification(int what);
virtual PackedStringArray get_configuration_warnings() const override;
public:
static PlayerBody *get_singleton();
@ -33,7 +34,7 @@ private:
float run_speed{ 8.f };
float acceleration{ 40.f };
float jump_strength{ 3.5f };
Vector2 movement_input{};
Vector2 movement_input{ 0, 0 };
WeaponInventory *weapons;
HealthStatus *health{ nullptr };