Package | Description |
---|---|
bwapi |
Modifier and Type | Method and Description |
---|---|
TechType |
UnitType.cloakingTech()
Retrieves the cloaking technology associated with certain units.
|
TechType |
UnitType.cloakingTech()
Retrieves the cloaking technology associated with certain units.
|
TechType |
Unit.getTech()
Retrieves the technology that this unit is currently researching.
|
TechType |
WeaponType.getTech()
Retrieves the technology type that must be researched before this weapon can
be used.
|
TechType |
WeaponType.getTech()
Retrieves the technology type that must be researched before this weapon can
be used.
|
TechType |
Unit.getTech()
Retrieves the technology that this unit is currently researching.
|
TechType |
UnitCommand.getTechType() |
TechType |
UnitCommand.getTechType() |
TechType |
UnitType.requiredTech()
Identifies the required
TechType in order to create certain units. |
TechType |
UnitType.requiredTech()
Identifies the required
TechType in order to create certain units. |
static TechType |
TechType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TechType |
TechType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TechType[] |
TechType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static TechType[] |
TechType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<TechType> |
UnitType.abilities()
Retrieves the set of abilities that this unit can use, provided it is available to you in
the game.
|
List<TechType> |
UnitType.abilities()
Retrieves the set of abilities that this unit can use, provided it is available to you in
the game.
|
List<TechType> |
UnitType.researchesWhat()
Retrieves the set of technologies that this unit type is capable of researching.
|
List<TechType> |
UnitType.researchesWhat()
Retrieves the set of technologies that this unit type is capable of researching.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Game.canResearch(TechType type) |
boolean |
Unit.canResearch(TechType type) |
boolean |
Unit.canResearch(TechType type) |
boolean |
Game.canResearch(TechType type) |
boolean |
Unit.canResearch(TechType type,
boolean checkCanIssueCommandType)
Cheap checks for whether the unit is able to execute a research command.
|
boolean |
Unit.canResearch(TechType type,
boolean checkCanIssueCommandType)
Cheap checks for whether the unit is able to execute a research command.
|
boolean |
Game.canResearch(TechType type,
Unit unit) |
boolean |
Game.canResearch(TechType type,
Unit unit) |
boolean |
Game.canResearch(TechType type,
Unit unit,
boolean checkCanIssueCommandType)
Checks all the requirements in order to research a given technology type for the
current player.
|
boolean |
Game.canResearch(TechType type,
Unit unit,
boolean checkCanIssueCommandType)
Checks all the requirements in order to research a given technology type for the
current player.
|
boolean |
Unit.canUseTech(TechType tech) |
boolean |
Unit.canUseTech(TechType tech) |
boolean |
Unit.canUseTech(TechType tech,
Position target) |
boolean |
Unit.canUseTech(TechType tech,
Position target) |
boolean |
Unit.canUseTech(TechType tech,
Position target,
boolean checkCanTargetUnit) |
boolean |
Unit.canUseTech(TechType tech,
Position target,
boolean checkCanTargetUnit) |
boolean |
Unit.canUseTech(TechType tech,
Position target,
boolean checkCanTargetUnit,
boolean checkTargetsType) |
boolean |
Unit.canUseTech(TechType tech,
Position target,
boolean checkCanTargetUnit,
boolean checkTargetsType) |
boolean |
Unit.canUseTech(TechType tech,
Position target,
boolean checkCanTargetUnit,
boolean checkTargetsType,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTech(TechType tech,
Position target,
boolean checkCanTargetUnit,
boolean checkTargetsType,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTech(TechType tech,
Position target,
boolean checkCanTargetUnit,
boolean checkTargetsType,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Checks whether the unit is able to execute a useTech command for a specified position or
unit (only specify null if the TechType does not target another position/unit).
|
boolean |
Unit.canUseTech(TechType tech,
Position target,
boolean checkCanTargetUnit,
boolean checkTargetsType,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Checks whether the unit is able to execute a useTech command for a specified position or
unit (only specify null if the TechType does not target another position/unit).
|
boolean |
Unit.canUseTech(TechType tech,
Unit target) |
boolean |
Unit.canUseTech(TechType tech,
Unit target) |
boolean |
Unit.canUseTech(TechType tech,
Unit target,
boolean checkCanTargetUnit) |
boolean |
Unit.canUseTech(TechType tech,
Unit target,
boolean checkCanTargetUnit) |
boolean |
Unit.canUseTech(TechType tech,
Unit target,
boolean checkCanTargetUnit,
boolean checkTargetsType) |
boolean |
Unit.canUseTech(TechType tech,
Unit target,
boolean checkCanTargetUnit,
boolean checkTargetsType) |
boolean |
Unit.canUseTech(TechType tech,
Unit target,
boolean checkCanTargetUnit,
boolean checkTargetsType,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTech(TechType tech,
Unit target,
boolean checkCanTargetUnit,
boolean checkTargetsType,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTech(TechType tech,
Unit target,
boolean checkCanTargetUnit,
boolean checkTargetsType,
boolean checkCanIssueCommandType,
boolean checkCommandibility) |
boolean |
Unit.canUseTech(TechType tech,
Unit target,
boolean checkCanTargetUnit,
boolean checkTargetsType,
boolean checkCanIssueCommandType,
boolean checkCommandibility) |
boolean |
Unit.canUseTechPosition(TechType tech) |
boolean |
Unit.canUseTechPosition(TechType tech) |
boolean |
Unit.canUseTechPosition(TechType tech,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechPosition(TechType tech,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechPosition(TechType tech,
boolean checkCanIssueCommandType,
boolean checkCommandibility) |
boolean |
Unit.canUseTechPosition(TechType tech,
boolean checkCanIssueCommandType,
boolean checkCommandibility) |
boolean |
Unit.canUseTechPosition(TechType tech,
Position target) |
boolean |
Unit.canUseTechPosition(TechType tech,
Position target) |
boolean |
Unit.canUseTechPosition(TechType tech,
Position target,
boolean checkTargetsPositions) |
boolean |
Unit.canUseTechPosition(TechType tech,
Position target,
boolean checkTargetsPositions) |
boolean |
Unit.canUseTechPosition(TechType tech,
Position target,
boolean checkTargetsPositions,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechPosition(TechType tech,
Position target,
boolean checkTargetsPositions,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechPosition(TechType tech,
Position target,
boolean checkTargetsPositions,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Checks whether the unit is able to execute a useTech command with an unspecified target
position.
|
boolean |
Unit.canUseTechPosition(TechType tech,
Position target,
boolean checkTargetsPositions,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Checks whether the unit is able to execute a useTech command with an unspecified target
position.
|
boolean |
Unit.canUseTechUnit(TechType tech) |
boolean |
Unit.canUseTechUnit(TechType tech) |
boolean |
Unit.canUseTechUnit(TechType tech,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechUnit(TechType tech,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechUnit(TechType tech,
boolean checkCanIssueCommandType,
boolean checkCommandibility) |
boolean |
Unit.canUseTechUnit(TechType tech,
boolean checkCanIssueCommandType,
boolean checkCommandibility) |
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit) |
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit) |
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit,
boolean checkCanTargetUnit) |
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit,
boolean checkCanTargetUnit) |
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit,
boolean checkCanTargetUnit,
boolean checkTargetsUnits) |
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit,
boolean checkCanTargetUnit,
boolean checkTargetsUnits) |
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit,
boolean checkCanTargetUnit,
boolean checkTargetsUnits,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit,
boolean checkCanTargetUnit,
boolean checkTargetsUnits,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit,
boolean checkCanTargetUnit,
boolean checkTargetsUnits,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Cheap checks for whether the unit is able to execute a useTech command with an unspecified
target unit.
|
boolean |
Unit.canUseTechUnit(TechType tech,
Unit targetUnit,
boolean checkCanTargetUnit,
boolean checkTargetsUnits,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Cheap checks for whether the unit is able to execute a useTech command with an unspecified
target unit.
|
boolean |
Unit.canUseTechWithOrWithoutTarget(TechType tech) |
boolean |
Unit.canUseTechWithOrWithoutTarget(TechType tech) |
boolean |
Unit.canUseTechWithOrWithoutTarget(TechType tech,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechWithOrWithoutTarget(TechType tech,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechWithOrWithoutTarget(TechType tech,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Cheap checks for whether the unit is able to execute a useTech command without a target or
or a useTech command with a target position or a useTech command with a target unit.
|
boolean |
Unit.canUseTechWithOrWithoutTarget(TechType tech,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Cheap checks for whether the unit is able to execute a useTech command without a target or
or a useTech command with a target position or a useTech command with a target unit.
|
boolean |
Unit.canUseTechWithoutTarget(TechType tech) |
boolean |
Unit.canUseTechWithoutTarget(TechType tech) |
boolean |
Unit.canUseTechWithoutTarget(TechType tech,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechWithoutTarget(TechType tech,
boolean checkCanIssueCommandType) |
boolean |
Unit.canUseTechWithoutTarget(TechType tech,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Checks whether the unit is able to execute a useTech command without a target.
|
boolean |
Unit.canUseTechWithoutTarget(TechType tech,
boolean checkCanIssueCommandType,
boolean checkCommandibility)
Checks whether the unit is able to execute a useTech command without a target.
|
boolean |
Player.hasResearched(TechType tech)
Checks if the player has already researched a given technology.
|
boolean |
Player.hasResearched(TechType tech)
Checks if the player has already researched a given technology.
|
boolean |
Player.isResearchAvailable(TechType tech)
Checks if a technology can be researched by the player.
|
boolean |
Player.isResearchAvailable(TechType tech)
Checks if a technology can be researched by the player.
|
boolean |
Player.isResearching(TechType tech)
Checks if the player is researching a given technology type.
|
boolean |
Player.isResearching(TechType tech)
Checks if the player is researching a given technology type.
|
boolean |
Unit.research(TechType tech)
Orders the unit to research the given tech type.
|
boolean |
Unit.research(TechType tech)
Orders the unit to research the given tech type.
|
static UnitCommand |
UnitCommand.research(Unit unit,
TechType tech) |
static UnitCommand |
UnitCommand.research(Unit unit,
TechType tech) |
boolean |
Unit.useTech(TechType tech) |
boolean |
Unit.useTech(TechType tech) |
boolean |
Unit.useTech(TechType tech,
Position target)
Orders the unit to use a technology.
|
boolean |
Unit.useTech(TechType tech,
Position target)
Orders the unit to use a technology.
|
boolean |
Unit.useTech(TechType tech,
Unit target) |
boolean |
Unit.useTech(TechType tech,
Unit target) |
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) |
Copyright © 2022. All rights reserved.