oecs-sharp/Game.TicTacToe/Components/Cell.cs

14 lines
238 B
C#
Raw Permalink Normal View History

using MessagePack;
namespace Game.TicTacToe;
/// <summary>
/// Identifies a board position. One entity per cell.
/// </summary>
[MessagePackObject]
public record struct Cell
{
[Key(0)] public int Row;
[Key(1)] public int Col;
}