oecs-sharp/TicTacToe/Components/Cell.cs

14 lines
226 B
C#

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