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.model.cityObjects.buildings.houses; /* ww w. jav a2 s . com*/ import jonathan.geoffroy.zorbscity.model.cityObjects.buildings.House; import jonathan.geoffroy.zorbscity.model.helpers.ResourcesList; public class TentHouse extends House { /** * auto-generated serial (using eclipse) */ private static final long serialVersionUID = -7320639030338187262L; public TentHouse() { super(); } public TentHouse(House house) { super(house); } @Override protected House getNextHouseType() { return new SimpleHouse(this); } @Override protected House getPreviousHouseType() { return null; } @Override protected void addNeededResources() { needed.addNeeded(ResourcesList.FOOD1_RESOURCE, 1); } @Override public int getMaxPeopleNumber() { return 16; } }