Package | Description |
---|---|
bwem |
Modifier and Type | Class and Description |
---|---|
class |
Geyser
Geysers Correspond to the units in BWAPI::getStaticNeutralUnits() for which getType() ==
Resource_Vespene_Geyser.
|
class |
Mineral
Minerals Correspond to the units in BWAPI::getStaticNeutralUnits() for which
getType().isMineralField().
|
class |
Resource
A Resource is either a Mineral or a Geyser.
|
class |
StaticBuilding
StaticBuildings Correspond to the units in BWAPI::getStaticNeutralUnits() for which
getType().isSpecialBuilding.
|
Modifier and Type | Method and Description |
---|---|
Neutral |
ChokePoint.getBlockingNeutral()
If !isPseudo(), returns nullptr.
|
Neutral |
ChokePoint.getBlockingNeutral()
If !isPseudo(), returns nullptr.
|
Neutral |
Neutral.getLastStacked()
Returns the last Neutral stacked over this Neutral, if ever.
|
Neutral |
Neutral.getLastStacked()
Returns the last Neutral stacked over this Neutral, if ever.
|
Neutral |
Tile.getNeutral()
If any Neutral occupies this Tile, returns it (note that all the Tiles it occupies will then
return it).
Otherwise, returns nullptr. - Neutrals are minerals, geysers and StaticBuildings (Cf. |
Neutral |
Tile.getNeutral()
If any Neutral occupies this Tile, returns it (note that all the Tiles it occupies will then
return it).
Otherwise, returns nullptr. - Neutrals are minerals, geysers and StaticBuildings (Cf. |
Neutral |
Neutral.getNextStacked()
Returns the next Neutral stacked over this Neutral, if ever.
- To iterate through the whole stack, one can use the following: for (const Neutral * n = BWMap::GetTile(topLeft()).GetNeutral() ; n ; n = n->nextStacked())
|
Neutral |
Neutral.getNextStacked()
Returns the next Neutral stacked over this Neutral, if ever.
- To iterate through the whole stack, one can use the following: for (const Neutral * n = BWMap::GetTile(topLeft()).GetNeutral() ; n ; n = n->nextStacked())
|
Copyright © 2022. All rights reserved.