|
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; }
|
|
} |