| Modifier and Type | Field and Description |
|---|---|
Game_Map_MapObj |
actor |
java.util.ArrayList<Connection> |
connections |
float |
x |
float |
y |
| Constructor and Description |
|---|
MapObj(float x,
float y,
java.lang.String name)
Every Station and Junction on the map
|
| Modifier and Type | Method and Description |
|---|---|
Game_Map_MapObj |
getActor() |
java.lang.String |
getName()
Returns the name of the station or junction the MapObj represents
|
Station |
getStation() |
public Game_Map_MapObj actor
public java.util.ArrayList<Connection> connections
public float x
public float y
public MapObj(float x,
float y,
java.lang.String name)
x - xPosition on mapy - yPosition on mappublic java.lang.String getName()
public Station getStation()
public Game_Map_MapObj getActor()