oecs-sharp/Game.CardWars/Components/OnField.cs

13 lines
281 B
C#

using MessagePack;
using OECS;
namespace Game.CardWars;
/// <summary>
/// Relationship from a card entity to the player entity whose field it's on.
/// </summary>
[MessagePackObject]
public record struct OnField : IRelationship
{
[Key(0)] public Entity Target { get; set; }
}