180181182183184185186187188189190
public void start() { if ( gui ) { GridWorldView wv = new GridWorldView(world); Timer timer = new Timer(1000/24, wv); ExperimentGUI g = new ExperimentGUI("Rooms example", wv, sim); timer.start(); new Thread(this).start(); } else run(); }
164165166167168169170171172173174
public void start() { if ( gui ) { GridWorldView wv = new LandmarkGridWorldView(world, 8); Timer timer = new Timer(1000/24, wv); ExperimentGUI g = new ExperimentGUI("Rooms example", wv, sim); timer.start(); new Thread(this).start(); } else run(); }