long function ( Color arg0 , Piece arg1 , int arg2 , int arg3 ) { return this . getMask ( arg0 , arg1 , arg2 ) ^ this . getMask ( arg0 , arg1 , arg3 ) ; }
returns the mask for a given color , a piece , and two different squares . this is a convenience method that simply xors the two , and it is typically used by a piece moving from one square to another . concode_field_sep Map<Color,Map<Piece,Long[]>> masks concode_field_sep long getMaskTurn concode_elem_sep long getMaskEnPassantTarget concode_elem_sep long getMaskCastleRights