public interface Base
| Modifier and Type | Method and Description |
|---|---|
Area |
getArea()
Returns the area in which this base is located.
|
java.util.List<Mineral> |
getBlockingMinerals()
Returns the blocking minerals.
|
Position |
getCenter()
Returns the center position of
getLocation(). |
java.util.List<Geyser> |
getGeysers()
Returns the available geysers.
|
TilePosition |
getLocation()
Returns the position (top-left TilePosition) of the location for a resource depot.
|
java.util.List<Mineral> |
getMinerals()
Returns the available minerals.
|
boolean |
isStartingLocation()
Tests whether this base is a start location.
|
boolean isStartingLocation()
MapData.getStartingLocations(),MapData.getStartingLocations() are actually
used.Area getArea()
TilePosition getLocation()
isStartingLocation() == true, it is guaranteed that the location
corresponds exactly to one of MapData.getStartingLocations().Position getCenter()
getLocation().java.util.List<Mineral> getMinerals()
java.util.List<Geyser> getGeysers()
java.util.List<Mineral> getBlockingMinerals()
isStartingLocation() == true, an empty list is returned.getBlockingMinerals() should not be confused with ChokePoint.getBlockingNeutral() and Neutral.isBlocking():