Add new components: CanPickUpComponent, CollapsableComponent, DestroyableComponent, EffectInflictorComponent, StatusEffectComponent, and StatusEffectDataResource

This commit is contained in:
2025-08-10 12:57:58 +02:00
parent 5dbf04cc5f
commit 99473d1295
7 changed files with 209 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ using Godot;
namespace Mr.BrickAdventures.scripts.components;
public partial class HealthComponent : Node
public partial class HealthComponent : Node2D
{
[Export] public float Health { get; set; } = 1.0f;
[Export] public float MaxHealth { get; set; } = 1.0f;