14 lines
304 B
C#
14 lines
304 B
C#
using MessagePack;
|
|
using OECS;
|
|
|
|
namespace Game.Blackjack;
|
|
|
|
/// <summary>
|
|
/// Relationship from a hand entity to a card entity,
|
|
/// representing that the hand holds this card.
|
|
/// </summary>
|
|
[MessagePackObject]
|
|
public record struct Holds : IRelationship
|
|
{
|
|
[Key(0)] public Entity Target { get; set; }
|
|
} |