enables or disables the generation loop based on the specified flag . concode_field_sep Timer generationTimer concode_elem_sep HashSet<Consumer<Integer>> generationTimerDelayChangeListenerList concode_elem_sep Universe universe concode_elem_sep long lastGenerationMilliseconds concode_elem_sep HashSet<Consumer<Boolean>> nextGenerationLoopChangeListenerList concode_field_sep void addGenerationTimerDelayChangeListener concode_elem_sep void removeNextGenerationLoopChangeListener concode_elem_sep Universe getUniverse concode_elem_sep boolean isGenerationLoopEnabled concode_elem_sep int getNextGenerationDelay concode_elem_sep void setNextGenerationDelay concode_elem_sep void removeGenerationTimerDelayChangeListener concode_elem_sep void dispose concode_elem_sep void onGenerationTimerTick concode_elem_sep void addNextGenerationLoopChangeListener
void function ( boolean arg0 ) { if ( generationTimer . isRunning ( ) == arg0 ) return ; if ( arg0 ) generationTimer . start ( ) ; else generationTimer . stop ( ) ; for ( Consumer < Boolean > loc0 : nextGenerationLoopChangeListenerList ) loc0 . accept ( generationTimer . isRunning ( ) ) ; }