示例#1
0
 public bool GetPiece(int x, int y, ref ChessPiece piece)
 {
     return(GetPiece((ChessPositionIndex)x + 8 * y, ref piece));
 }
示例#2
0
 public void SetPiece(int x, int y, ChessPiece piece)
 {
     SetPiece((ChessPositionIndex)x + 8 * y, piece.PieceType, piece.PieceColor);
 }