Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
refactored.Building Class Reference
Inheritance diagram for refactored.Building:
Collaboration diagram for refactored.Building:

Public Member Functions

 Building ()
 Building (short playerID)
short getPlayerID ()
void setPlayerID (short playerID)
short getLevel ()
void setLevel (short level)
int getPollution ()
void setPollution (int pollution)
int getPopulation ()
void setPopulation (int population)
- Public Member Functions inherited from refactored.MapObject
 MapObject ()
boolean isBulldozable ()
void setBulldozable (boolean bulldozable)
boolean isBurnable ()
void setBurnable (boolean burnable)
boolean isConducting ()
void setConducting (boolean conducting)
boolean isOverWater ()
void setOverWater (boolean overWater)
Zone getZone ()
void setZone (Zone zone)
String getName ()
void setName (String name)
List< MapImagegetImages ()
void setImages (List< MapImage > images)
int getId ()
void setId (int id)
int getImageIndex ()
void setImageIndex (int imageIndex)
TileBehavior getBehavior ()
void setBehavior (TileBehavior behavior)
String getDescription ()
void setDescription (String description)

Private Attributes

short playerID
int pollution
int population
short level

Additional Inherited Members

- Public Attributes inherited from refactored.MapObject
TileSpec owner
int ownerOffsetX
int ownerOffsetY
BuildingInfo buildingInfo
TileSpec animNext
TileSpec onPower
TileSpec onShutdown
Map< String, String > attributes

Detailed Description

Definition at line 4 of file Building.java.

Constructor & Destructor Documentation

refactored.Building.Building ( )

Definition at line 11 of file Building.java.

refactored.Building.Building ( short  playerID)

Member Function Documentation

short refactored.Building.getLevel ( )

Definition at line 34 of file Building.java.

References refactored.Building.level.

short refactored.Building.getPlayerID ( )

Definition at line 26 of file Building.java.

References refactored.Building.playerID.

int refactored.Building.getPollution ( )

Definition at line 42 of file Building.java.

References refactored.Building.pollution.

int refactored.Building.getPopulation ( )

Definition at line 50 of file Building.java.

References refactored.Building.population.

void refactored.Building.setLevel ( short  level)

Definition at line 38 of file Building.java.

References refactored.Building.level.

void refactored.Building.setPlayerID ( short  playerID)

Definition at line 30 of file Building.java.

References refactored.Building.playerID.

void refactored.Building.setPollution ( int  pollution)

Definition at line 46 of file Building.java.

References refactored.Building.pollution.

void refactored.Building.setPopulation ( int  population)

Definition at line 54 of file Building.java.

References refactored.Building.population.

Member Data Documentation

short refactored.Building.level
private
short refactored.Building.playerID
private
int refactored.Building.pollution
private
int refactored.Building.population
private

The documentation for this class was generated from the following file: