Framework/HandValueDecal.cs

A small immutable record struct representing a single on-table label for a hand. It stores a stable Key, a Transform Spot in the world, and the Text to display.

namespace CardGames;

/// <summary>
/// One on-table value decal a game wants drawn: a stable <paramref name="Key"/> (so the renderer can reuse
/// and update the same decal across frames), the world <paramref name="Spot"/> of the hand it labels, and the
/// <paramref name="Text"/> to show (empty = nothing). Produced by <see cref="CardGame.HandValueDecals"/>.
/// </summary>
public readonly record struct HandValueDecal( string Key, Transform Spot, string Text );