public void loadGameConfiguration(String fname) {
		ConfigLoader loader = new JAXBConfigLoader(fname);
		GameConfiguration conf = loader.load();
		long dly = 100;
		if (conf != null) {
			if (sim != null) {
				dly = sim.getDelay();
				sim.stopSimulation();
			}
			sim = new Simulation(new WorldDescriptor(conf), dly);
		} else
			ui.error("Could not load game configuration file.");
	}