15 lines
388 B
C#
15 lines
388 B
C#
using Gamesmiths.Forge.Attributes;
|
|
|
|
namespace Movementtests.scenes.enemies;
|
|
|
|
public class EnemyAttributeSet : AttributeSet
|
|
{
|
|
public EntityAttribute Strength { get; }
|
|
public EntityAttribute Speed { get; }
|
|
|
|
public EnemyAttributeSet()
|
|
{
|
|
Strength = InitializeAttribute(nameof(Strength), 10, 0, 99);
|
|
Speed = InitializeAttribute(nameof(Speed), 5, 0, 10);
|
|
}
|
|
} |