Package | Description |
---|---|
bwapi |
Modifier and Type | Method and Description |
---|---|
Unit |
Game.getClosestUnit(Position center,
int radius,
UnitFilter pred)
Retrieves the closest unit to center that matches the criteria of the callback
pred within an optional radius.
|
Unit |
Game.getClosestUnit(Position center,
int radius,
UnitFilter pred)
Retrieves the closest unit to center that matches the criteria of the callback
pred within an optional radius.
|
Unit |
Game.getClosestUnit(Position center,
UnitFilter pred) |
Unit |
Game.getClosestUnit(Position center,
UnitFilter pred) |
Unit |
Game.getClosestUnitInRectangle(Position center,
int left,
int top,
int right,
int bottom,
UnitFilter pred)
Retrieves the closest unit to center that matches the criteria of the callback
pred within an optional rectangle.
|
Unit |
Game.getClosestUnitInRectangle(Position center,
int left,
int top,
int right,
int bottom,
UnitFilter pred)
Retrieves the closest unit to center that matches the criteria of the callback
pred within an optional rectangle.
|
List<Unit> |
Region.getUnits(UnitFilter pred)
Retrieves a List
|
List<Unit> |
Region.getUnits(UnitFilter pred)
Retrieves a List
|
List<Unit> |
Game.getUnitsInRadius(int x,
int y,
int radius,
UnitFilter pred)
Retrieves the set of accessible units that are within a given radius of a
position.
|
List<Unit> |
Game.getUnitsInRadius(int x,
int y,
int radius,
UnitFilter pred)
Retrieves the set of accessible units that are within a given radius of a
position.
|
List<Unit> |
Unit.getUnitsInRadius(int radius,
UnitFilter pred)
Retrieves the set of all units in a given radius of the current unit.
|
List<Unit> |
Unit.getUnitsInRadius(int radius,
UnitFilter pred)
Retrieves the set of all units in a given radius of the current unit.
|
List<Unit> |
Game.getUnitsInRadius(Position center,
int radius,
UnitFilter pred) |
List<Unit> |
Game.getUnitsInRadius(Position center,
int radius,
UnitFilter pred) |
List<Unit> |
Game.getUnitsInRectangle(int left,
int top,
int right,
int bottom,
UnitFilter pred)
Retrieves the set of accessible units that are in a given rectangle.
|
List<Unit> |
Game.getUnitsInRectangle(int left,
int top,
int right,
int bottom,
UnitFilter pred)
Retrieves the set of accessible units that are in a given rectangle.
|
List<Unit> |
Game.getUnitsInRectangle(Position leftTop,
Position rightBottom,
UnitFilter pred) |
List<Unit> |
Game.getUnitsInRectangle(Position leftTop,
Position rightBottom,
UnitFilter pred) |
List<Unit> |
Unit.getUnitsInWeaponRange(WeaponType weapon,
UnitFilter pred)
Obtains the set of units within weapon range of this unit.
|
List<Unit> |
Unit.getUnitsInWeaponRange(WeaponType weapon,
UnitFilter pred)
Obtains the set of units within weapon range of this unit.
|
List<Unit> |
Game.getUnitsOnTile(int tileX,
int tileY,
UnitFilter pred)
Retrieves the set of accessible units that are on a given build tile.
|
List<Unit> |
Game.getUnitsOnTile(int tileX,
int tileY,
UnitFilter pred)
Retrieves the set of accessible units that are on a given build tile.
|
Copyright © 2022. All rights reserved.