Package | Description |
---|---|
bwapi | |
bwem | |
bwem.util |
Modifier and Type | Field and Description |
---|---|
static WalkPosition |
WalkPosition.Invalid |
static WalkPosition |
WalkPosition.Invalid |
static WalkPosition |
WalkPosition.None |
static WalkPosition |
WalkPosition.None |
static WalkPosition |
WalkPosition.Origin |
static WalkPosition |
WalkPosition.Origin |
static WalkPosition |
WalkPosition.Unknown |
static WalkPosition |
WalkPosition.Unknown |
Modifier and Type | Method and Description |
---|---|
WalkPosition |
WalkPosition.add(WalkPosition other) |
WalkPosition |
WalkPosition.add(WalkPosition other) |
WalkPosition |
WalkPosition.divide(int divisor) |
WalkPosition |
WalkPosition.divide(int divisor) |
WalkPosition |
WalkPosition.multiply(int multiplier) |
WalkPosition |
WalkPosition.multiply(int multiplier) |
WalkPosition |
WalkPosition.subtract(WalkPosition other) |
WalkPosition |
WalkPosition.subtract(WalkPosition other) |
WalkPosition |
Position.toWalkPosition() |
WalkPosition |
TilePosition.toWalkPosition() |
WalkPosition |
TilePosition.toWalkPosition() |
WalkPosition |
Position.toWalkPosition() |
Modifier and Type | Method and Description |
---|---|
WalkPosition |
WalkPosition.add(WalkPosition other) |
WalkPosition |
WalkPosition.add(WalkPosition other) |
boolean |
Game.isWalkable(WalkPosition position) |
boolean |
Game.isWalkable(WalkPosition position) |
WalkPosition |
WalkPosition.subtract(WalkPosition other) |
WalkPosition |
WalkPosition.subtract(WalkPosition other) |
Constructor and Description |
---|
Position(WalkPosition wp) |
Position(WalkPosition wp) |
TilePosition(WalkPosition wp) |
TilePosition(WalkPosition wp) |
WalkPosition(WalkPosition wp) |
WalkPosition(WalkPosition wp) |
Modifier and Type | Method and Description |
---|---|
WalkPosition |
BWMap.breadthFirstSearch(WalkPosition start,
Pred<MiniTile,WalkPosition> findCond,
Pred<MiniTile,WalkPosition> visitCond) |
WalkPosition |
BWMap.breadthFirstSearch(WalkPosition start,
Pred<MiniTile,WalkPosition> findCond,
Pred<MiniTile,WalkPosition> visitCond) |
WalkPosition |
BWMap.breadthFirstSearch(WalkPosition start,
Pred<MiniTile,WalkPosition> findCond,
Pred<MiniTile,WalkPosition> visitCond,
boolean connect8) |
WalkPosition |
BWMap.breadthFirstSearch(WalkPosition start,
Pred<MiniTile,WalkPosition> findCond,
Pred<MiniTile,WalkPosition> visitCond,
boolean connect8) |
WalkPosition |
ChokePoint.getCenter()
Returns the center of this ChokePoint.
|
WalkPosition |
ChokePoint.getCenter()
Returns the center of this ChokePoint.
|
WalkPosition |
ChokePoint.getNodePosition(ChokePoint.Node node)
Returns the position of one of the 3 nodes of this ChokePoint (Cf.
|
WalkPosition |
ChokePoint.getNodePosition(ChokePoint.Node node)
Returns the position of one of the 3 nodes of this ChokePoint (Cf.
|
WalkPosition |
ChokePoint.getNodePositionInArea(ChokePoint.Node node,
Area area)
Pretty much the same as pos(n), except that the returned MiniTile position is guaranteed to be
part of pArea.
|
WalkPosition |
ChokePoint.getNodePositionInArea(ChokePoint.Node node,
Area area)
Pretty much the same as pos(n), except that the returned MiniTile position is guaranteed to be
part of pArea.
|
WalkPosition |
Area.getTop() |
WalkPosition |
Area.getTop() |
WalkPosition |
Area.getWalkPositionWithHighestAltitude() |
WalkPosition |
Area.getWalkPositionWithHighestAltitude() |
WalkPosition |
MapData.getWalkSize() |
WalkPosition |
MapData.getWalkSize() |
Modifier and Type | Method and Description |
---|---|
List<WalkPosition> |
ChokePoint.getGeometry()
Returns the set of positions that defines the shape of this ChokePoint.
- Note: none of these miniTiles actually belongs to this ChokePoint (a ChokePoint doesn't contain any MiniTile). |
List<WalkPosition> |
ChokePoint.getGeometry()
Returns the set of positions that defines the shape of this ChokePoint.
- Note: none of these miniTiles actually belongs to this ChokePoint (a ChokePoint doesn't contain any MiniTile). |
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> |
BWMap.getRawFrontier() |
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> |
BWMap.getRawFrontier() |
Modifier and Type | Method and Description |
---|---|
static List<WalkPosition> |
BwemExt.innerBorder(WalkPosition topLeft,
WalkPosition size) |
static List<WalkPosition> |
BwemExt.innerBorder(WalkPosition topLeft,
WalkPosition size) |
static List<WalkPosition> |
BwemExt.innerMiniTileBorder(TilePosition topLeft,
TilePosition size) |
static List<WalkPosition> |
BwemExt.innerMiniTileBorder(TilePosition topLeft,
TilePosition size) |
static List<WalkPosition> |
BwemExt.outerBorder(WalkPosition topLeft,
WalkPosition size) |
static List<WalkPosition> |
BwemExt.outerBorder(WalkPosition topLeft,
WalkPosition size) |
static List<WalkPosition> |
BwemExt.outerMiniTileBorder(TilePosition topLeft,
TilePosition size) |
static List<WalkPosition> |
BwemExt.outerMiniTileBorder(TilePosition topLeft,
TilePosition size) |
Copyright © 2022. All rights reserved.