Back to project page ZorbsCity.
The source code is released under:
GNU General Public License
If you think the Android project ZorbsCity listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package jonathan.geoffroy.zorbscity.view; /*w ww. j a va2s . co m*/ import jonathan.geoffroy.zorbscity.model.City; import jonathan.geoffroy.zorbscity.model.Simulator; public abstract class CityView { protected Simulator simulator; protected City city; public CityView(String cityName) { city = City.load(cityName); assert(city != null) : "The loaded city isn't supposed to be null!"; simulator = new Simulator(city); } public abstract void run(); }