void function ( int arg0 ) { int loc0 ; if ( arg0 < 0 ) { loc0 = - 1 ; arg0 = - arg0 ; } else { loc0 = 1 ; } for ( int loc1 = 0 ; loc1 < arg0 ; loc1 ++ ) { yPosition += loc0 ; draw ( ) ; } }
slowly move the square vertically by ` distance ' pixels . concode_field_sep int xPosition concode_elem_sep int size concode_elem_sep String color concode_elem_sep int yPosition concode_elem_sep boolean isVisible concode_field_sep void erase concode_elem_sep void changeColor concode_elem_sep void makeVisible concode_elem_sep void draw concode_elem_sep void moveDown concode_elem_sep void slowMoveHorizontal concode_elem_sep void moveHorizontal concode_elem_sep void moveRight concode_elem_sep void moveLeft concode_elem_sep void moveVertical concode_elem_sep void changeSize concode_elem_sep void makeInvisible concode_elem_sep void moveUp