int function ( ) { TPoint loc0 = null , loc1 = null ; loc0 = Calculate_min_point ( this . body ) ; loc1 = Calculate_max_point ( this . body ) ; width = loc1 . x - loc0 . x + 1 ; return width ; }
returns the width of the piece measured in blocks . 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 TPoint[] getBody concode_elem_sep int getHeight concode_elem_sep Piece computeNextRotation concode_elem_sep boolean equals concode_elem_sep Piece[] getPieces concode_elem_sep int[] getSkirt concode_elem_sep TPoint Calculate_max_point concode_elem_sep Piece fastRotation concode_elem_sep TPoint Calculate_min_point concode_elem_sep void Transpose_to_centre concode_elem_sep Piece makeFastRotations concode_elem_sep void RawRotation concode_elem_sep TPoint[] parsePoints