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

14 lines
306 B
C#

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