void function ( ) { skirt = new int [ width ] ; Arrays . fill ( skirt , height - 1 ) ; for ( TPoint loc0 : body ) { if ( skirt [ loc0 . x ] > loc0 . y ) skirt [ loc0 . x ] = loc0 . y ; } }
private helper method that computes the skirt of the piece . concode_field_sep Piece next concode_elem_sep String STICK_STR concode_elem_sep int STICK concode_elem_sep String L1_STR concode_elem_sep String SQUARE_STR concode_elem_sep TPoint[] body concode_elem_sep Piece[] pieces concode_elem_sep String PYRAMID_STR concode_elem_sep int S2 concode_elem_sep String S1_STR concode_elem_sep String S2_STR concode_elem_sep int S1 concode_elem_sep int[] skirt concode_elem_sep int SQUARE concode_elem_sep int width concode_elem_sep int L2 concode_elem_sep int L1 concode_elem_sep int PYRAMID concode_elem_sep int height concode_elem_sep String L2_STR concode_field_sep int getHeight concode_elem_sep TPoint[] getBody concode_elem_sep Piece computeNextRotation concode_elem_sep boolean equals concode_elem_sep Piece[] getPieces concode_elem_sep int[] getSkirt concode_elem_sep Piece fastRotation concode_elem_sep int getWidth concode_elem_sep Piece makeFastRotations concode_elem_sep void computeHeightAndWidth concode_elem_sep TPoint[] parsePoints