question: adds an image to the animation with the specified duration time to display the image . concode_field_sep long totalDuration concode_elem_sep long tempTime concode_elem_sep Image image concode_elem_sep ArrayList frames concode_elem_sep int currFrameIndex concode_elem_sep long animTime concode_elem_sep long endTime concode_field_sep void resume concode_elem_sep void stop concode_elem_sep int getFrame concode_elem_sep AnimFrame getFrame concode_elem_sep Object clone concode_elem_sep void start concode_elem_sep void update concode_elem_sep Image getImage
target: void function ( Image arg0 , long arg1 ) { totalDuration += arg1 ; frames . add ( new AnimFrame ( arg0 , totalDuration ) ) ; }