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

13 lines
289 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 Target { get; set; }
}