internal void AddPiece(Piece piece, int pos) { this.pieceSet[pos] = piece; }
internal static void ClearPieceSet(ref Piece[] set) { set = Enumerable.Repeat<Piece>(new Piece(PieceColor.None, PieceType.None), 64).ToArray(); }