Add weapon acquisition and swapping systems with data handling

This commit is contained in:
2025-10-29 01:26:35 +01:00
parent 09fa293c81
commit 6d00b8d6ab
12 changed files with 185 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
using GameCore.ECS.Interfaces;
namespace GameCore.Player;
public class EquipmentComponent : IComponent
{
public List<string> EquippableWeaponItemIds { get; set; } = [];
public int CurrentWeaponIndex { get; set; } = -1; // -1 indicates no weapon equipped
}