|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimogl.gameobjects.AbstractGameObject
simogl.gameobjects.building.AbstractBuilding
simogl.gameobjects.building.House
public class House
This class represents a house in the game
Field Summary |
---|
Fields inherited from class simogl.gameobjects.building.AbstractBuilding |
---|
CITY_HALL, FARM, HOUSE, type |
Constructor Summary | |
---|---|
House(float x,
float y,
float z)
Creates a new house |
Method Summary |
---|
Methods inherited from class simogl.gameobjects.building.AbstractBuilding |
---|
addToScene, decreaseNumberInhabitants, deleteBuilding, getFoodConsumption, getNumberInhabitants, getPrice, getRegularCosts, getTaxes, getTaxRate, getTotalNumberInhabitants, getType, increaseNumberInhabitants, setPrice, setRegularCost, setTaxRate, setVisibleBox, update |
Methods inherited from class simogl.gameobjects.AbstractGameObject |
---|
getModel, getName, getPosition, getX, getY, getZ, setPosition, setPosition, setX, setY, setZ |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public House(float x, float y, float z)
x
- x-coordinatey
- y-coordinatez
- z-coordinate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |