Пример #1
0
 internal void AddPiece(Piece piece, int pos)
 {
     this.pieceSet[pos] = piece;
 }
Пример #2
0
 internal static void ClearPieceSet(ref Piece[] set)
 {
     set = Enumerable.Repeat<Piece>(new Piece(PieceColor.None, PieceType.None), 64).ToArray();
 }