© 2026 Hedgehog Software, LLC
public static class WhitePieces { ... } public static class BlackPieces { ... }
var pieceClass = sideAttacking == Colour.White ? WhitePieces : BlackPieces;
'WhitePieces' is a type, which is not valid in the given context