simogl.gameobjects.building
Class House

java.lang.Object
  extended by simogl.gameobjects.AbstractGameObject
      extended by simogl.gameobjects.building.AbstractBuilding
          extended by simogl.gameobjects.building.House

public class House
extends AbstractBuilding

This class represents a house in the game

Author:
Frank Bruns

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

House

public House(float x,
             float y,
             float z)
Creates a new house

Parameters:
x - x-coordinate
y - y-coordinate
z - z-coordinate