src/infinity/ecs/scheduling/AdvancedRRScheduler.java
/**
     * Runs the schedule until the _runFlag is set to false. makeSchedule() needs to be called first
     */
Runs the schedule until the _runFlag is set to false. makeSchedule() needs to be called first
Runs the schedule until the _runFlag is set to false . makeSchedule () needs to be called first
@Override
    public void run(){
	_runFlag = true;
	while(_runFlag) {
	    while(_index < _schedule.size()){
		_schedule.get(_index).update(1);
		_index += 1;
	    }
	    _runs += 1;
	    _index = 0;
	    if(_runs == Integer.MAX_VALUE)
		_runs = 0; 
	}
    }
@ Override public void run ( ) { _runFlag = true ; while ( _runFlag ) { while ( _index < _schedule . size ( ) ) { _schedule . get ( _index ) . update ( 1 ) ; _index += 1 ; } _runs += 1 ; _index = 0 ; if ( _runs == Integer . MAX_VALUE ) _runs = 0 ; } }
Runs the schedule until the _runFlag is set to false.
Runs the schedule until the _runFlag is set to false .
//Catches the overflow