Add inventory and pickup components with associated resources and presenters

This commit is contained in:
2025-10-13 18:29:58 +02:00
parent ad3e631d8c
commit 329a942de7
5 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
using Godot;
namespace CryptonymThunder.Code.Resources;
[GlobalClass]
public partial class PickupComponentResource : Resource
{
[Export] public string ItemId { get; set; }
[Export] public int Quantity { get; set; } = 1;
[Export] public bool IsInstantUse { get; set; } = false;
}