src/infinity/ecs/scheduling/AdvancedRRScheduler.java
/**
     * Registers the system in the Scheduler.
     * @param system
     * @param priority The priority says how often the system needs to run, if the priority of 
system A is 1 and the of B is 5, than A runs every frame and B at least every 5th frame
     * @return  
     */
Registers the system in the Scheduler.
@param system
@param priority The priority says how often the system needs to run, if the priority of
system A is 1 and the of B is 5, than A runs every frame and B at least every 5th frame
@return
Registers the system in the Scheduler . @param system @param priority The priority says how often the system needs to run if the priority of system A is 1 and the of B is 5 than A runs every frame and B at least every 5th frame @return
@Override 
    public boolean registerSystem(EntitySystem system, Integer priority) {
	ArrayList<EntitySystem> list; 
	list = _systems.get(priority);
	if(list == null) {
	    list = new ArrayList<>();
	    _systems.add(priority, list);	    
	}
	return list.add(system);
    }
@ Override public boolean registerSystem ( EntitySystem system , Integer priority ) { ArrayList < EntitySystem > list ; list = _systems . get ( priority ) ; if ( list == null ) { list = new ArrayList < > ( ) ; _systems . add ( priority , list ) ; } return list . add ( system ) ; }
Registers the system in the Scheduler.
Registers the system in the Scheduler .