void function ( int arg0 , int arg1 ) { int loc0 = squares [ arg0 ] ; hashKey ^= psHashKeys [ loc0 ] [ arg0 ] ; hashKey ^= psHashKeys [ arg1 ] [ arg0 ] ; squares [ arg0 ] = arg1 ; if ( arg1 == Piece . WKING ) { wKingSq = arg0 ; } else if ( arg1 == Piece . BKING ) { bKingSq = arg0 ; } }
set a square to a piece value . concode_field_sep long hashKey concode_elem_sep boolean whiteMove concode_elem_sep int A8_CASTLE concode_elem_sep long[] castleHashKeys concode_elem_sep int[] squares concode_elem_sep long whiteHashKey concode_elem_sep int castleMask concode_elem_sep int epSquare concode_elem_sep int fullMoveCounter concode_elem_sep int H8_CASTLE concode_elem_sep int H1_CASTLE concode_elem_sep int bKingSq concode_elem_sep long[][] psHashKeys concode_elem_sep int wKingSq concode_elem_sep int A1_CASTLE concode_elem_sep int halfMoveClock concode_elem_sep long[] epHashKeys concode_field_sep int getPiece concode_elem_sep boolean darkSquare concode_elem_sep void setWhiteMove concode_elem_sep boolean a1Castle concode_elem_sep boolean h1Castle concode_elem_sep int getSquare concode_elem_sep boolean h8Castle concode_elem_sep void removeCastleRights concode_elem_sep int hashCode concode_elem_sep boolean drawRuleEquals concode_elem_sep void setEpSquare concode_elem_sep boolean a8Castle concode_elem_sep void unMakeMove concode_elem_sep int getEpSquare concode_elem_sep int getKingSq concode_elem_sep long zobristHash concode_elem_sep long getRandomHashVal concode_elem_sep int getX concode_elem_sep int getY concode_elem_sep int getCastleMask concode_elem_sep void setCastleMask concode_elem_sep boolean equals concode_elem_sep void makeMove concode_elem_sep long computeZobristHash concode_elem_sep String toString concode_elem_sep int nPieces concode_elem_sep int nPieces