public interface Area
Modifier and Type | Method and Description |
---|---|
java.util.List<Area> |
getAccessibleNeighbors()
Returns the accessible neighboring Areas.
|
java.util.List<Base> |
getBases()
Returns the Bases contained in this Area.
|
TilePosition |
getBottomRight()
Returns the bottom right position of the bounding box of this area.
|
TilePosition |
getBoundingBoxSize()
Returns the bounding box size of this area.
|
java.util.List<ChokePoint> |
getChokePoints()
Returns the ChokePoints between this Area and the neighboring ones.
|
java.util.List<ChokePoint> |
getChokePoints(Area area)
Returns the ChokePoints between this Area and the specified area.
|
java.util.Map<Area,java.util.List<ChokePoint>> |
getChokePointsByArea()
Returns the ChokePoints of this Area grouped by neighboring Areas. - Note: if there are no
neighboring Areas, than an empty set is returned.
|
java.util.List<Geyser> |
getGeysers()
Returns the Geysers contained in this Area.
|
GroupId |
getGroupId()
- Unique id > 0 of the group of Areas which are accessible from this Area.
|
Altitude |
getHighestAltitude()
Returns the highest altitude observed in this area.
|
int |
getHighGroundPercentage()
Returns the percentage of high ground tiles in this area.
|
AreaId |
getId()
- Unique id > 0 of this Area.
|
int |
getLowGroundPercentage()
Returns the percentage of low ground tiles in this area.
|
java.util.List<Mineral> |
getMinerals()
Returns the Minerals contained in this Area.
|
int |
getSize()
Returns the number of MiniTiles in this area.
|
WalkPosition |
getTop()
Alias for
getWalkPositionWithHighestAltitude() |
TilePosition |
getTopLeft()
Returns the top left position of the bounding box of this area.
|
int |
getVeryHighGroundPercentage()
Returns the percentage of very high ground tiles in this area.
|
WalkPosition |
getWalkPositionWithHighestAltitude()
Returns the position of the MiniTile with the highest altitude value.
|
boolean |
isAccessibleFrom(Area area)
Returns whether this Area is accessible from the specified area, that is, if they share the
same GroupId().
|
AreaId getId()
GroupId getGroupId()
TilePosition getTopLeft()
TilePosition getBottomRight()
TilePosition getBoundingBoxSize()
WalkPosition getWalkPositionWithHighestAltitude()
WalkPosition getTop()
getWalkPositionWithHighestAltitude()
Altitude getHighestAltitude()
int getSize()
int getLowGroundPercentage()
int getHighGroundPercentage()
int getVeryHighGroundPercentage()
java.util.List<ChokePoint> getChokePoints()
getChokePoints(Area)
java.util.List<ChokePoint> getChokePoints(Area area)
area
- the specified areajava.util.Map<Area,java.util.List<ChokePoint>> getChokePointsByArea()
java.util.List<Area> getAccessibleNeighbors()
ChokePoint.isBlocked()
boolean isAccessibleFrom(Area area)
area
- the specified areagetGroupId()
java.util.List<Mineral> getMinerals()
java.util.List<Geyser> getGeysers()
java.util.List<Base> getBases()