Add attribute system with core stats and gameplay components
This commit is contained in:
14
GameCore/Combat/WeaponComponent.cs
Normal file
14
GameCore/Combat/WeaponComponent.cs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user