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

13 lines
256 B
C#
Raw Normal View History

using MessagePack;
using OECS;
namespace Game.CardWars;
/// <summary>
/// Relationship from a card entity to a deck entity.
/// </summary>
[MessagePackObject]
public record struct InDeck : IRelationship
{
[Key(0)] public Entity Target { get; set; }
}