Package | Description |
---|---|
bwapi |
Modifier and Type | Method and Description |
---|---|
Region |
Region.getClosestAccessibleRegion()
Retrieves the closest accessible neighbor region.
|
Region |
Region.getClosestAccessibleRegion()
Retrieves the closest accessible neighbor region.
|
Region |
Region.getClosestInaccessibleRegion()
Retrieves the closest inaccessible neighbor region.
|
Region |
Region.getClosestInaccessibleRegion()
Retrieves the closest inaccessible neighbor region.
|
Region |
Unit.getRegion()
Retrieves the
Region that the center of the unit is in. |
Region |
Unit.getRegion()
Retrieves the
Region that the center of the unit is in. |
Region |
Game.getRegion(int regionID)
Retrieves the
Region object associated with a given identifier. |
Region |
Game.getRegion(int regionID)
Retrieves the
Region object associated with a given identifier. |
Region |
Game.getRegionAt(int x,
int y)
Retrieves the region at a given position.
|
Region |
Game.getRegionAt(int x,
int y)
Retrieves the region at a given position.
|
Region |
Game.getRegionAt(Position position) |
Region |
Game.getRegionAt(Position position) |
Modifier and Type | Method and Description |
---|---|
List<Region> |
Game.getAllRegions()
Retrieves the set of all regions on the map.
|
List<Region> |
Game.getAllRegions()
Retrieves the set of all regions on the map.
|
List<Region> |
Region.getNeighbors()
Retrieves the set of neighbor Regions that this one is connected to.
|
List<Region> |
Region.getNeighbors()
Retrieves the set of neighbor Regions that this one is connected to.
|
Modifier and Type | Method and Description |
---|---|
int |
Region.compareTo(Region other) |
int |
Region.compareTo(Region other) |
int |
Region.getDistance(Region other)
Retrieves the center-to-center distance between two regions.
|
int |
Region.getDistance(Region other)
Retrieves the center-to-center distance between two regions.
|
Copyright © 2022. All rights reserved.