int function ( ) { return count ; }
returns the number of collisions involving this particle with vertical walls , horizontal walls , or other particles . this is equal to the number of calls to #bounceoff , #bounceoffverticalwall , and #bounceoffhorizontalwall . concode_field_sep double vx concode_elem_sep double vy concode_elem_sep Color color concode_elem_sep double INFINITY concode_elem_sep double rx concode_elem_sep double ry concode_elem_sep double mass concode_elem_sep int count concode_elem_sep double radius concode_field_sep double kineticEnergy concode_elem_sep void move concode_elem_sep void bounceOff concode_elem_sep void bounceOffVerticalWall concode_elem_sep void bounceOffHorizontalWall concode_elem_sep double timeToHit concode_elem_sep void draw concode_elem_sep double timeToHitVerticalWall concode_elem_sep double timeToHitHorizontalWall