Package | Description |
---|---|
bwapi |
Modifier and Type | Method and Description |
---|---|
Race |
Player.getRace()
Retrieves the race of the player.
|
Race |
TechType.getRace()
Retrieves the race that is required to research or use the
TechType . |
Race |
UnitType.getRace()
Retrieves the
Race that the unit type belongs to. |
Race |
UpgradeType.getRace()
Retrieves the race the upgrade is for.
|
Race |
UpgradeType.getRace()
Retrieves the race the upgrade is for.
|
Race |
UnitType.getRace()
Retrieves the
Race that the unit type belongs to. |
Race |
TechType.getRace()
Retrieves the race that is required to research or use the
TechType . |
Race |
Player.getRace()
Retrieves the race of the player.
|
static Race |
Race.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Race |
Race.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Race[] |
Race.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Race[] |
Race.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
Player.supplyTotal(Race race)
Retrieves the total amount of supply the player has available for unit control.
|
int |
Player.supplyTotal(Race race)
Retrieves the total amount of supply the player has available for unit control.
|
int |
Player.supplyUsed(Race race)
Retrieves the current amount of supply that the player is using for unit control.
|
int |
Player.supplyUsed(Race race)
Retrieves the current amount of supply that the player is using for unit control.
|
Modifier and Type | Method and Description |
---|---|
static UnitFilter |
UnitFilter.GetRace(Predicate<Race> c) |
static UnitFilter |
UnitFilter.GetRace(Predicate<Race> c) |
Copyright © 2022. All rights reserved.