14 lines
337 B
C#
14 lines
337 B
C#
using MessagePack;
|
|
using OECS;
|
|
|
|
namespace Game.CardWars;
|
|
|
|
/// <summary>
|
|
/// Relationship from a horn/skull token entity to the target entity it's placed on.
|
|
/// </summary>
|
|
[MessagePackObject]
|
|
public record struct PlacedOn : IRelationship
|
|
{
|
|
[Key(0)] public Entity Source { get; set; }
|
|
[Key(1)] public Entity Target { get; set; }
|
|
} |