public class LegacyBuilding extends LegacyObject
id, x, y
Constructor and Description |
---|
LegacyBuilding() |
Modifier and Type | Method and Description |
---|---|
int[] |
getApexes()
Get the list of apexes.
|
int |
getCode()
Get the building code.
|
int[] |
getEntrances()
Get the list of entrance nodes.
|
int |
getFloors()
Get the number of floors in this building.
|
void |
read(java.io.InputStream in)
Read the data for this object.
|
getID, getX, getY
public void read(java.io.InputStream in) throws java.io.IOException
LegacyObject
read
in class LegacyObject
in
- The InputStream to read.java.io.IOException
- If there is a problem reading the stream.public int getFloors()
public int getCode()
public int[] getEntrances()
public int[] getApexes()