Skip to content

Commit

Permalink
Reorder gamestate
Browse files Browse the repository at this point in the history
  • Loading branch information
eduherminio committed Jan 12, 2024
1 parent e0d2b80 commit dc61256
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Lynx/Model/GameState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
{
public readonly long ZobristKey;

public readonly byte Castle;

public readonly int CapturedPiece;

public readonly BoardSquare EnPassant;

public GameState(long zobristKey, int capturedPiece, byte castle, BoardSquare enpassant)
public readonly byte Castle;

public GameState(long zobristKey, int capturedPiece, BoardSquare enpassant, byte castle)
{
ZobristKey = zobristKey;
CapturedPiece = capturedPiece;
Castle = castle;
EnPassant = enpassant;
ZobristKey = zobristKey;
Castle = castle;
}
}

0 comments on commit dc61256

Please sign in to comment.