boolean function ( ) { if ( locations . size ( ) > 2 ) { return true ; } else if ( locations . size ( ) == 2 ) { Location loc0 = getLocationAtIndex ( 0 ) ; Location loc1 = getLocationAtIndex ( 1 ) ; if ( Math . abs ( loc0 . col - loc1 . col ) != 1 ) { return true ; } } return false ; }
this method is used to determine if the move contains jumps concode_field_sep int nextId concode_elem_sep Vector locations concode_elem_sep int moveId concode_field_sep Location getLocationAtIndex concode_elem_sep int locationCount concode_elem_sep boolean equals concode_elem_sep void removeLastLocation concode_elem_sep String toString concode_elem_sep void addLocation concode_elem_sep Move copy