void function ( ) { canvas . setForegroundColor ( color ) ; canvas . fillCircle ( xPosition , yPosition , diameter ) ; }
draw this ball at its current position onto the canvas . concode_field_sep int xPosition concode_elem_sep Canvas canvas concode_elem_sep int ySpeed concode_elem_sep int ballDegradation concode_elem_sep Color color concode_elem_sep int diameter concode_elem_sep int yPosition concode_elem_sep int groundPosition concode_elem_sep int GRAVITY concode_elem_sep Ellipse2D.Double circle concode_field_sep void erase concode_elem_sep void move concode_elem_sep int getXPosition concode_elem_sep int getYPosition