System.out.println("setting state of train " + trainIndex + " for " + p + " to state " + stateToString(newState) + " at " + world.get(ITEM.TIME, p));
    private void setState(int trainIndex, FreerailsPrincipal p, int newState) {	System.out.println("setting state of train " + trainIndex + " for " +		p + " to state " + stateToString(newState) + " at " + 		world.get(ITEM.TIME, p));	TrainModel tm = (TrainModel) world.get(KEY.TRAINS, trainIndex, p);	ChangeTrainMove m  = ChangeTrainMove.generateMove(trainIndex, p, tm,		newState, (GameTime) world.get(ITEM.TIME,		    Player.AUTHORITATIVE));	moveReceiver.processMove(m);    }