Package | Description |
---|---|
bwapi |
Modifier and Type | Method and Description |
---|---|
static UnitCommand |
UnitCommand.attack(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.attack(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.attack(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.attack(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.attack(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.attack(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.attack(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.attack(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.build(Unit unit,
TilePosition target,
UnitType type) |
static UnitCommand |
UnitCommand.build(Unit unit,
TilePosition target,
UnitType type) |
static UnitCommand |
UnitCommand.buildAddon(Unit unit,
UnitType type) |
static UnitCommand |
UnitCommand.buildAddon(Unit unit,
UnitType type) |
static UnitCommand |
UnitCommand.burrow(Unit unit) |
static UnitCommand |
UnitCommand.burrow(Unit unit) |
static UnitCommand |
UnitCommand.cancelAddon(Unit unit) |
static UnitCommand |
UnitCommand.cancelAddon(Unit unit) |
static UnitCommand |
UnitCommand.cancelConstruction(Unit unit) |
static UnitCommand |
UnitCommand.cancelConstruction(Unit unit) |
static UnitCommand |
UnitCommand.cancelMorph(Unit unit) |
static UnitCommand |
UnitCommand.cancelMorph(Unit unit) |
static UnitCommand |
UnitCommand.cancelResearch(Unit unit) |
static UnitCommand |
UnitCommand.cancelResearch(Unit unit) |
static UnitCommand |
UnitCommand.cancelTrain(Unit unit) |
static UnitCommand |
UnitCommand.cancelTrain(Unit unit) |
static UnitCommand |
UnitCommand.cancelTrain(Unit unit,
int slot) |
static UnitCommand |
UnitCommand.cancelTrain(Unit unit,
int slot) |
static UnitCommand |
UnitCommand.cancelUpgrade(Unit unit) |
static UnitCommand |
UnitCommand.cancelUpgrade(Unit unit) |
static UnitCommand |
UnitCommand.cloak(Unit unit) |
static UnitCommand |
UnitCommand.cloak(Unit unit) |
static UnitCommand |
UnitCommand.decloak(Unit unit) |
static UnitCommand |
UnitCommand.decloak(Unit unit) |
static UnitCommand |
UnitCommand.follow(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.follow(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.follow(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.follow(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.gather(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.gather(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.gather(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.gather(Unit unit,
Unit target,
boolean shiftQueueCommand) |
UnitCommand |
Unit.getLastCommand()
Retrieves the last successful command that was sent to BWAPI.
|
UnitCommand |
Unit.getLastCommand()
Retrieves the last successful command that was sent to BWAPI.
|
static UnitCommand |
UnitCommand.haltConstruction(Unit unit) |
static UnitCommand |
UnitCommand.haltConstruction(Unit unit) |
static UnitCommand |
UnitCommand.holdPosition(Unit unit) |
static UnitCommand |
UnitCommand.holdPosition(Unit unit) |
static UnitCommand |
UnitCommand.holdPosition(Unit unit,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.holdPosition(Unit unit,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.land(Unit unit,
TilePosition target) |
static UnitCommand |
UnitCommand.land(Unit unit,
TilePosition target) |
static UnitCommand |
UnitCommand.lift(Unit unit) |
static UnitCommand |
UnitCommand.lift(Unit unit) |
static UnitCommand |
UnitCommand.load(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.load(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.load(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.load(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.morph(Unit unit,
UnitType type) |
static UnitCommand |
UnitCommand.morph(Unit unit,
UnitType type) |
static UnitCommand |
UnitCommand.move(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.move(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.move(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.move(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.patrol(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.patrol(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.patrol(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.patrol(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.placeCOP(Unit unit,
TilePosition target) |
static UnitCommand |
UnitCommand.placeCOP(Unit unit,
TilePosition target) |
static UnitCommand |
UnitCommand.repair(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.repair(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.repair(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.repair(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.research(Unit unit,
TechType tech) |
static UnitCommand |
UnitCommand.research(Unit unit,
TechType tech) |
static UnitCommand |
UnitCommand.returnCargo(Unit unit) |
static UnitCommand |
UnitCommand.returnCargo(Unit unit) |
static UnitCommand |
UnitCommand.returnCargo(Unit unit,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.returnCargo(Unit unit,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.rightClick(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.rightClick(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.rightClick(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.rightClick(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.rightClick(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.rightClick(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.rightClick(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.rightClick(Unit unit,
Unit target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.setRallyPoint(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.setRallyPoint(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.setRallyPoint(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.setRallyPoint(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.siege(Unit unit) |
static UnitCommand |
UnitCommand.siege(Unit unit) |
static UnitCommand |
UnitCommand.stop(Unit unit) |
static UnitCommand |
UnitCommand.stop(Unit unit) |
static UnitCommand |
UnitCommand.stop(Unit unit,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.stop(Unit unit,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.train(Unit unit,
UnitType type) |
static UnitCommand |
UnitCommand.train(Unit unit,
UnitType type) |
static UnitCommand |
UnitCommand.unburrow(Unit unit) |
static UnitCommand |
UnitCommand.unburrow(Unit unit) |
static UnitCommand |
UnitCommand.unload(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.unload(Unit unit,
Unit target) |
static UnitCommand |
UnitCommand.unloadAll(Unit unit) |
static UnitCommand |
UnitCommand.unloadAll(Unit unit) |
static UnitCommand |
UnitCommand.unloadAll(Unit unit,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.unloadAll(Unit unit,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.unloadAll(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.unloadAll(Unit unit,
Position target) |
static UnitCommand |
UnitCommand.unloadAll(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.unloadAll(Unit unit,
Position target,
boolean shiftQueueCommand) |
static UnitCommand |
UnitCommand.unsiege(Unit unit) |
static UnitCommand |
UnitCommand.unsiege(Unit unit) |
static UnitCommand |
UnitCommand.upgrade(Unit unit,
UpgradeType upgrade) |
static UnitCommand |
UnitCommand.upgrade(Unit unit,
UpgradeType upgrade) |
static UnitCommand |
UnitCommand.useTech(Unit unit,
TechType tech) |
static UnitCommand |
UnitCommand.useTech(Unit unit,
TechType tech) |
static UnitCommand |
UnitCommand.useTech(Unit unit,
TechType tech,
Position target) |
static UnitCommand |
UnitCommand.useTech(Unit unit,
TechType tech,
Position target) |
static UnitCommand |
UnitCommand.useTech(Unit unit,
TechType tech,
Unit target) |
static UnitCommand |
UnitCommand.useTech(Unit unit,
TechType tech,
Unit target) |
Modifier and Type | Method and Description |
---|---|
boolean |
Unit.canIssueCommand(UnitCommand command) |
boolean |
Unit.canIssueCommand(UnitCommand command) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanBuildUnitType) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanBuildUnitType) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanBuildUnitType,
boolean checkCanTargetUnit) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanBuildUnitType,
boolean checkCanTargetUnit) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanBuildUnitType,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanBuildUnitType,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType) |
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanBuildUnitType,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Checks whether the unit is able to execute the given command.
|
boolean |
Unit.canIssueCommand(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanBuildUnitType,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Checks whether the unit is able to execute the given command.
|
boolean |
Unit.canIssueCommandGrouped(UnitCommand command) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanTargetUnit) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanTargetUnit) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType,
boolean checkCommandibilityGrouped) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType,
boolean checkCommandibilityGrouped) |
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType,
boolean checkCommandibilityGrouped,
boolean checkCommandibility)
Checks whether the unit is able to execute the given command as part of a List
|
boolean |
Unit.canIssueCommandGrouped(UnitCommand command,
boolean checkCanUseTechPositionOnPositions,
boolean checkCanUseTechUnitOnUnits,
boolean checkCanTargetUnit,
boolean checkCanIssueCommandType,
boolean checkCommandibilityGrouped,
boolean checkCommandibility)
Checks whether the unit is able to execute the given command as part of a List
|
boolean |
Game.issueCommand(Collection<Unit> units,
UnitCommand command)
Issues a given command to a set of units.
|
boolean |
Game.issueCommand(Collection<Unit> units,
UnitCommand command)
Issues a given command to a set of units.
|
boolean |
Unit.issueCommand(UnitCommand command)
This function issues a command to the unit(s), however it is used for interfacing
only, and is recommended to use one of the more specific command functions when writing an
AI.
|
boolean |
Unit.issueCommand(UnitCommand command)
This function issues a command to the unit(s), however it is used for interfacing
only, and is recommended to use one of the more specific command functions when writing an
AI.
|
Copyright © 2022. All rights reserved.