Package | Description |
---|---|
bwem |
Modifier and Type | Field and Description |
---|---|
static AreaId |
AreaId.UNINITIALIZED |
static AreaId |
AreaId.UNINITIALIZED |
static AreaId |
AreaId.ZERO |
static AreaId |
AreaId.ZERO |
Modifier and Type | Method and Description |
---|---|
AreaId |
MiniTile.getAreaId()
For Sea and Lake miniTiles, returns 0
For Terrain miniTiles, returns a non zero id: - if (id > 0), id uniquely identifies the Area A that contains this MiniTile. Moreover we have: A.id() == id and BWMap::getArea(id) == A - For more information about positive Area::ids, see Area::id() - if (id < 0), then this MiniTile is part of a Terrain-zone that was considered too small to create an Area for it. - Note: negative Area::ids start from -2 - Note: because of the lakes, BWMap::getNearestArea should be prefered over BWMap::getArea. |
AreaId |
Tile.getAreaId()
This function somewhat aggregates the MiniTile::getAreaId() values of the 4 x 4 sub-miniTiles.
|
AreaId |
Tile.getAreaId()
This function somewhat aggregates the MiniTile::getAreaId() values of the 4 x 4 sub-miniTiles.
|
AreaId |
MiniTile.getAreaId()
For Sea and Lake miniTiles, returns 0
For Terrain miniTiles, returns a non zero id: - if (id > 0), id uniquely identifies the Area A that contains this MiniTile. Moreover we have: A.id() == id and BWMap::getArea(id) == A - For more information about positive Area::ids, see Area::id() - if (id < 0), then this MiniTile is part of a Terrain-zone that was considered too small to create an Area for it. - Note: negative Area::ids start from -2 - Note: because of the lakes, BWMap::getNearestArea should be prefered over BWMap::getArea. |
AreaId |
Area.getId() |
AreaId |
Area.getId() |
Modifier and Type | Method and Description |
---|---|
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> |
BWMap.getRawFrontier() |
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> |
BWMap.getRawFrontier() |
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> |
BWMap.getRawFrontier() |
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> |
BWMap.getRawFrontier() |
Modifier and Type | Method and Description |
---|---|
int |
AreaId.compareTo(AreaId that) |
int |
AreaId.compareTo(AreaId that) |
Area |
BWMap.getArea(AreaId id) |
Area |
Graph.getArea(AreaId id) |
Area |
Graph.getArea(AreaId id) |
Area |
BWMap.getArea(AreaId id) |
Modifier and Type | Method and Description |
---|---|
void |
Graph.createChokePoints(List<StaticBuilding> staticBuildings,
List<Mineral> minerals,
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> rawFrontier) |
void |
Graph.createChokePoints(List<StaticBuilding> staticBuildings,
List<Mineral> minerals,
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> rawFrontier) |
void |
Graph.createChokePoints(List<StaticBuilding> staticBuildings,
List<Mineral> minerals,
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> rawFrontier) |
void |
Graph.createChokePoints(List<StaticBuilding> staticBuildings,
List<Mineral> minerals,
List<Pair<Pair<AreaId,AreaId>,WalkPosition>> rawFrontier) |
Copyright © 2022. All rights reserved.