initialize repo
This commit is contained in:
11
Lib/Civilization.Core/Units/UnitData.cs
Normal file
11
Lib/Civilization.Core/Units/UnitData.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Civilization.Core.Units;
|
||||
|
||||
public class UnitData
|
||||
{
|
||||
public string Name { get; init; }
|
||||
public int MaxActionPoints { get; init; }
|
||||
public int MoveRange { get; init; } = 1;
|
||||
public HashSet<UnitTag> Tags { get; init; } = [];
|
||||
|
||||
public bool HasTag(UnitTag tag) => Tags.Contains(tag);
|
||||
}
|
Reference in New Issue
Block a user