15 lines
342 B
C#
15 lines
342 B
C#
|
|
using MessagePack;
|
||
|
|
using OECS;
|
||
|
|
|
||
|
|
namespace Blackjack;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Relationship from a card entity to the deck entity,
|
||
|
|
/// representing that the card is in the deck.
|
||
|
|
/// </summary>
|
||
|
|
[MessagePackObject]
|
||
|
|
public struct InDeck : IRelationship
|
||
|
|
{
|
||
|
|
[Key(0)] public Entity Source { get; set; }
|
||
|
|
[Key(1)] public Entity Target { get; set; }
|
||
|
|
}
|