| Modifier and Type | Field and Description |
|---|---|
private CaptainsState |
captainsState |
private LinkedList<ICity> |
cities |
private javafx.geometry.Dimension2D |
dimension |
private String |
mapImagePath |
| Constructor and Description |
|---|
GameMap() |
| Modifier and Type | Method and Description |
|---|---|
List<ICity> |
getCities()
Retrieve an unmodifiable list of all the cities in the map
|
int |
getNumberCities()
Retrieve the number of cities that are on the map.
|
void |
setup(Date date,
Collection<ICity> cities,
javafx.geometry.Dimension2D dim,
String mapName)
Initialize the map by means of a list of its cities.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDimension, getMapImagePath@Autowired private CaptainsState captainsState
private final LinkedList<ICity> cities
private javafx.geometry.Dimension2D dimension
private String mapImagePath
public void setup(Date date, Collection<ICity> cities, javafx.geometry.Dimension2D dim, String mapName)
cities - public int getNumberCities()
IMapgetNumberCities in interface IMapCopyright © 2011-2015 Sahits GmbH. All Rights Reserved.