Methapolis
0.27
|
Public Member Functions | |
Zone (short type, short x, short y) | |
Zone (short type, short x, short y, short width, short height) | |
short | getType () |
void | setType (short type) |
short | getWidth () |
void | setWidth (short width) |
short | getHeight () |
void | setHeight (short height) |
short | getX () |
void | setX (short x) |
short | getY () |
void | setY (short y) |
List< Building > | getBuildings () |
void | setBuildings (List< Building > buildings) |
Static Public Attributes | |
static final short | RESIDENTIAL = 1 |
static final short | INDUSTRIAL = 2 |
static final short | COMMERCIAL = 3 |
static final short | POLICE = 4 |
static final short | FIRESTATION = 5 |
Private Attributes | |
short | type |
short | width |
short | height |
short | x |
short | y |
List< Building > | buildings |
refactored.Zone.Zone | ( | short | type, |
short | x, | ||
short | y | ||
) |
Definition at line 26 of file Zone.java.
References refactored.Zone.type, refactored.Zone.x, and refactored.Zone.y.
refactored.Zone.Zone | ( | short | type, |
short | x, | ||
short | y, | ||
short | width, | ||
short | height | ||
) |
Definition at line 30 of file Zone.java.
References refactored.Zone.height, refactored.Zone.type, refactored.Zone.width, refactored.Zone.x, and refactored.Zone.y.
List<Building> refactored.Zone.getBuildings | ( | ) |
Definition at line 79 of file Zone.java.
References refactored.Zone.buildings.
short refactored.Zone.getHeight | ( | ) |
Definition at line 55 of file Zone.java.
References refactored.Zone.height.
short refactored.Zone.getType | ( | ) |
Definition at line 39 of file Zone.java.
References refactored.Zone.type.
short refactored.Zone.getWidth | ( | ) |
Definition at line 47 of file Zone.java.
References refactored.Zone.width.
short refactored.Zone.getX | ( | ) |
Definition at line 63 of file Zone.java.
References refactored.Zone.x.
short refactored.Zone.getY | ( | ) |
Definition at line 71 of file Zone.java.
References refactored.Zone.y.
void refactored.Zone.setBuildings | ( | List< Building > | buildings | ) |
Definition at line 83 of file Zone.java.
References refactored.Zone.buildings.
void refactored.Zone.setHeight | ( | short | height | ) |
Definition at line 59 of file Zone.java.
References refactored.Zone.height.
void refactored.Zone.setType | ( | short | type | ) |
Definition at line 43 of file Zone.java.
References refactored.Zone.type.
void refactored.Zone.setWidth | ( | short | width | ) |
Definition at line 51 of file Zone.java.
References refactored.Zone.width.
void refactored.Zone.setX | ( | short | x | ) |
Definition at line 67 of file Zone.java.
References refactored.Zone.x.
void refactored.Zone.setY | ( | short | y | ) |
Definition at line 75 of file Zone.java.
References refactored.Zone.y.
|
private |
Definition at line 23 of file Zone.java.
Referenced by refactored.Zone.getBuildings(), and refactored.Zone.setBuildings().
|
private |
Definition at line 20 of file Zone.java.
Referenced by refactored.Zone.getHeight(), refactored.Zone.setHeight(), and refactored.Zone.Zone().
|
private |
Definition at line 18 of file Zone.java.
Referenced by refactored.Zone.getType(), refactored.Zone.setType(), and refactored.Zone.Zone().
|
private |
Definition at line 19 of file Zone.java.
Referenced by refactored.Zone.getWidth(), refactored.Zone.setWidth(), and refactored.Zone.Zone().
|
private |
Definition at line 21 of file Zone.java.
Referenced by refactored.Zone.getX(), refactored.Zone.setX(), and refactored.Zone.Zone().
|
private |
Definition at line 22 of file Zone.java.
Referenced by refactored.Zone.getY(), refactored.Zone.setY(), and refactored.Zone.Zone().