Methapolis
0.27
|
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< MapImage > | getImages () |
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 |
Definition at line 4 of file Building.java.
refactored.Building.Building | ( | ) |
Definition at line 11 of file Building.java.
refactored.Building.Building | ( | short | playerID | ) |
Definition at line 16 of file Building.java.
References refactored.Building.level, refactored.Building.playerID, and refactored.Building.population.
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.
|
private |
Definition at line 8 of file Building.java.
Referenced by refactored.Building.Building(), refactored.Building.getLevel(), and refactored.Building.setLevel().
|
private |
Definition at line 5 of file Building.java.
Referenced by refactored.Building.Building(), refactored.Building.getPlayerID(), and refactored.Building.setPlayerID().
|
private |
Definition at line 6 of file Building.java.
Referenced by refactored.Building.getPollution(), and refactored.Building.setPollution().
|
private |
Definition at line 7 of file Building.java.
Referenced by refactored.Building.Building(), refactored.Building.getPopulation(), and refactored.Building.setPopulation().