15 lines
354 B
C#
15 lines
354 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 Source { get; set; }
|
|
[Key(1)] public Entity Target { get; set; }
|
|
} |