Add attribute system with core stats and gameplay components

This commit is contained in:
2025-10-13 12:10:45 +02:00
commit ce3596efaa
55 changed files with 1161 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using GameCore.Combat.Interfaces;
using GameCore.ECS.Interfaces;
namespace GameCore.Combat;
public class WeaponComponent : IComponent
{
public float FireRate { get; set; } = 1f;
public List<IEffect> OnFireEffects { get; set; } = [];
public List<IEffect> OnHitEffects { get; set; } = [];
public float CooldownTimer { get; set; } = 0f;
}