the code that runs in the separate thread . concode_field_sep int ticks concode_elem_sep int interval concode_elem_sep Thread thread concode_elem_sep Tickable target concode_field_sep int getTicks concode_elem_sep void stop concode_elem_sep void setInterval concode_elem_sep void start concode_elem_sep void reset
void function ( ) { while ( thread != null ) try { Thread . sleep ( interval ) ; ticks ++ ; target . tick ( GameTimer . this ) ; } catch ( InterruptedException loc0 ) { } }