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,15 @@
using GameCore.Combat.Interfaces;
namespace GameCore.Combat;
public class WeaponData(
float fireRate,
List<ICostEffect> fireCosts,
List<IEffect> onFireEffects,
List<IEffect> onHitEffects)
{
public float FireRate { get; set; } = fireRate;
public List<ICostEffect> FireCosts { get; set; } = fireCosts;
public List<IEffect> OnFireEffects { get; set; } = onFireEffects;
public List<IEffect> OnHitEffects { get; set; } = onHitEffects;
}