} else if (tm.getTrainMotionModel().getPathToDestination() == null) { setPathToDestination(tm); continue;
    public void moveTrains() {	NonNullElements i = new NonNullElements(KEY.PLAYERS, world,		Player.AUTHORITATIVE);	while (i.next()) {	    FreerailsPrincipal p = ((Player) i.getElement()).getPrincipal();	    NonNullElements j = new NonNullElements(KEY.TRAINS, world, p);	    while (j.next()) {		TrainModel tm = (TrainModel) j.getElement();		if (tm.getPosition() == null) {		    setInitialPosition(tm, p, j.getIndex());		}		if (tm.getState() == TrainModel.STATE_RUNNABLE)		    updateTrainPosition(tm);	    }	}    }