refactor: convert component structs to record structs
This commit is contained in:
@@ -6,7 +6,7 @@ namespace Game.TicTacToe;
|
||||
/// Global game state stored on the singleton entity.
|
||||
/// </summary>
|
||||
[MessagePackObject]
|
||||
public struct GameState
|
||||
public record struct GameState
|
||||
{
|
||||
[Key(0)] public Player CurrentPlayer;
|
||||
[Key(1)] public GameStatus Status;
|
||||
|
||||
Reference in New Issue
Block a user