System.out.println("done move " + this); System.out.println(tm + ", motionmodel = " + tm.getTrainMotionModel());
    public MoveStatus doMove(World w, FreerailsPrincipal p) {	TrainModel tm = ((TrainModel) w.get(listKey, index, p));	if (!tm.getTrainMotionModel().isBlocked())	    tm.releaseAllLocks(w);		MoveStatus ms = super.doMove(w, p);	if (ms != MoveStatus.MOVE_OK)	    return ms;	GameTime now = (GameTime) w.get(ITEM.TIME, Player.AUTHORITATIVE);	tm = ((TrainModel) w.get(listKey, index, p));	tm.sync(now);	System.out.println("done move " + this);	System.out.println(tm + ", motionmodel = " + tm.getTrainMotionModel());	return MoveStatus.MOVE_OK;    }