Package | Description |
---|---|
bwapi |
Modifier and Type | Method and Description |
---|---|
UpgradeType |
UnitType.armorUpgrade()
Retrieves the upgrade type used to increase the armor of this unit type.
|
UpgradeType |
UnitType.armorUpgrade()
Retrieves the upgrade type used to increase the armor of this unit type.
|
UpgradeType |
Unit.getUpgrade()
Retrieves the upgrade that this unit is currently upgrading.
|
UpgradeType |
Unit.getUpgrade()
Retrieves the upgrade that this unit is currently upgrading.
|
UpgradeType |
UnitCommand.getUpgradeType() |
UpgradeType |
UnitCommand.getUpgradeType() |
UpgradeType |
WeaponType.upgradeType()
Retrieves the upgrade type that increases this weapon's damage output.
|
UpgradeType |
WeaponType.upgradeType()
Retrieves the upgrade type that increases this weapon's damage output.
|
static UpgradeType |
UpgradeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpgradeType |
UpgradeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpgradeType[] |
UpgradeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static UpgradeType[] |
UpgradeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<UpgradeType> |
UnitType.upgrades()
Retrieves the set of upgrades that this unit can use to enhance its fighting ability.
|
List<UpgradeType> |
UnitType.upgrades()
Retrieves the set of upgrades that this unit can use to enhance its fighting ability.
|
List<UpgradeType> |
UnitType.upgradesWhat()
Retrieves the set of upgrades that this unit type is capable of upgrading.
|
List<UpgradeType> |
UnitType.upgradesWhat()
Retrieves the set of upgrades that this unit type is capable of upgrading.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Game.canUpgrade(UpgradeType type) |
boolean |
Unit.canUpgrade(UpgradeType type) |
boolean |
Unit.canUpgrade(UpgradeType type) |
boolean |
Game.canUpgrade(UpgradeType type) |
boolean |
Unit.canUpgrade(UpgradeType type,
boolean checkCanIssueCommandType)
Cheap checks for whether the unit is able to execute an upgrade command.
|
boolean |
Unit.canUpgrade(UpgradeType type,
boolean checkCanIssueCommandType)
Cheap checks for whether the unit is able to execute an upgrade command.
|
boolean |
Game.canUpgrade(UpgradeType type,
Unit unit) |
boolean |
Game.canUpgrade(UpgradeType type,
Unit unit) |
boolean |
Game.canUpgrade(UpgradeType type,
Unit unit,
boolean checkCanIssueCommandType)
Checks all the requirements in order to upgrade a given upgrade type for the
current player.
|
boolean |
Game.canUpgrade(UpgradeType type,
Unit unit,
boolean checkCanIssueCommandType)
Checks all the requirements in order to upgrade a given upgrade type for the
current player.
|
int |
Player.getMaxUpgradeLevel(UpgradeType upgrade)
Retrieves the maximum upgrades available specific to the player.
|
int |
Player.getMaxUpgradeLevel(UpgradeType upgrade)
Retrieves the maximum upgrades available specific to the player.
|
int |
Player.getUpgradeLevel(UpgradeType upgrade)
Retrieves the current upgrade level that the player has attained for a given
upgrade type.
|
int |
Player.getUpgradeLevel(UpgradeType upgrade)
Retrieves the current upgrade level that the player has attained for a given
upgrade type.
|
boolean |
Player.isUpgrading(UpgradeType upgrade)
Checks if the player is upgrading a given upgrade type.
|
boolean |
Player.isUpgrading(UpgradeType upgrade)
Checks if the player is upgrading a given upgrade type.
|
static UnitCommand |
UnitCommand.upgrade(Unit unit,
UpgradeType upgrade) |
static UnitCommand |
UnitCommand.upgrade(Unit unit,
UpgradeType upgrade) |
boolean |
Unit.upgrade(UpgradeType upgrade)
Orders the unit to upgrade the given upgrade type.
|
boolean |
Unit.upgrade(UpgradeType upgrade)
Orders the unit to upgrade the given upgrade type.
|
Modifier and Type | Method and Description |
---|---|
static UnitFilter |
UnitFilter.ArmorUpgrade(Predicate<UpgradeType> c) |
static UnitFilter |
UnitFilter.ArmorUpgrade(Predicate<UpgradeType> c) |
Copyright © 2022. All rights reserved.