- Game - Class in bwapi
-
The abstract Game class is implemented by BWAPI and is the primary means of obtaining all game state information from Starcraft Broodwar.
- Gamete_Meiosis - Static variable in class bwapi.UpgradeType
-
- GameType - Class in bwapi
-
Expected type constructor.
- gas() - Method in class bwapi.Player
-
Retrieves the current amount of vespene gas that this player has.
- gas() - Method in class bwta.BaseLocation
-
- gasPrice() - Method in class bwapi.TechType
-
Retrieves the vespene gas cost of researching this technology.
- gasPrice() - Method in class bwapi.UnitType
-
Retrieves the default vespene gas price of purchasing the unit.
- gasPrice() - Method in class bwapi.UpgradeType
-
Returns the vespene gas price for the first upgrade.
- gasPrice(int) - Method in class bwapi.UpgradeType
-
- gasPriceFactor() - Method in class bwapi.UpgradeType
-
Returns the amount that the vespene gas price increases for each additional upgrade.
- gather(Unit) - Method in class bwapi.Unit
-
Orders the unit to gather the specified unit (must be mineral or refinery type).
- gather(Unit, boolean) - Method in class bwapi.Unit
-
- gather(Unit, Unit) - Static method in class bwapi.UnitCommand
-
- gather(Unit, Unit, boolean) - Static method in class bwapi.UnitCommand
-
- Gather - Static variable in class bwapi.UnitCommandType
-
- gather(Unit) - Method in class bwapi.Unitset
-
Orders the unit to gather the specified unit (must be mineral or refinery type).
- gather(Unit, boolean) - Method in class bwapi.Unitset
-
- gatheredGas() - Method in class bwapi.Player
-
Retrieves the cumulative amount of vespene gas that this player has gathered since the beginning of the game, including the amount that the player starts the game with (if any).
- gatheredMinerals() - Method in class bwapi.Player
-
Retrieves the cumulative amount of minerals/ore that this player has gathered since the beginning of the game, including the amount that the player starts the game with (if any).
- Gauss_Rifle - Static variable in class bwapi.WeaponType
-
- Gauss_Rifle_Hit - Static variable in class bwapi.BulletType
-
- Gauss_Rifle_Jim_Raynor - Static variable in class bwapi.WeaponType
-
- Gemini_Missiles - Static variable in class bwapi.BulletType
-
- Gemini_Missiles - Static variable in class bwapi.WeaponType
-
- Gemini_Missiles_Tom_Kazansky - Static variable in class bwapi.WeaponType
-
- getAcidSporeCount() - Method in class bwapi.Unit
-
Retrieves the number of acid spores that this unit is inflicted with.
- getAddon() - Method in class bwapi.Unit
-
Retrieves the add-on that is attached to this unit.
- getAirDistance(BaseLocation) - Method in class bwta.BaseLocation
-
- getAirWeaponCooldown() - Method in class bwapi.Unit
-
Retrieves the unit's air weapon cooldown.
- getAllRegions() - Method in class bwapi.Game
-
Retrieves the set of all regions on the map.
- getAllUnits() - Method in class bwapi.Game
-
Retrieves the set of all accessible units.
- getAngle() - Method in class bwapi.Bullet
-
Retrieve's the direction the Bullet is facing.
- getAngle() - Method in class bwapi.Unit
-
Retrieves the unit's facing direction in radians.
- getAPM() - Method in class bwapi.Game
-
Retrieves the Actions Per Minute (APM) that the bot is producing.
- getAPM(boolean) - Method in class bwapi.Game
-
- getApproxDistance(Position) - Method in class bwapi.Position
-
- getApproxDistance(WalkPosition) - Method in class bwapi.WalkPosition
-
- getArea() - Method in class bwta.Polygon
-
- getAverageFPS() - Method in class bwapi.Game
-
Retrieves the average logical frame rate of the game in frames per second (FPS).
- getBaseLocations() - Static method in class bwta.BWTA
-
- getBaseLocations() - Method in class bwta.Region
-
- getBottom() - Method in class bwapi.Unit
-
Retrieves the Y coordinate of the unit's bottom boundary, measured in pixels from the top of the map.
- getBoundsBottom() - Method in class bwapi.Region
-
Retrieves the approximate bottom boundary of the region.
- getBoundsLeft() - Method in class bwapi.Region
-
Retrieves the approximate left boundary of the region.
- getBoundsRight() - Method in class bwapi.Region
-
Retrieves the approximate right boundary of the region.
- getBoundsTop() - Method in class bwapi.Region
-
Retrieves the approximate top boundary of the region.
- getBuildingScore() - Method in class bwapi.Player
-
Retrieves the total building score, as seen in the end-game score screen.
- getBuildLocation(UnitType, TilePosition, int) - Method in class bwapi.Game
-
Retrieves a basic build position just as the default Computer AI would.
- getBuildLocation(UnitType, TilePosition) - Method in class bwapi.Game
-
- getBuildLocation(UnitType, TilePosition, int, boolean) - Method in class bwapi.Game
-
- getBuildType() - Method in class bwapi.Unit
-
Retrieves the building type that a worker (SCV, Probe, Drone) is about to construct.
- getBuildUnit() - Method in class bwapi.Unit
-
Retrieves the corresponding paired unit for SCVs and Terran structures.
- getBullets() - Method in class bwapi.Game
-
Retrieves the set of all accessible bullets.
- getCarrier() - Method in class bwapi.Unit
-
Retrieves the parent Carrier that owns this Interceptor.
- getCenter() - Method in class bwapi.CenteredObject
-
- getCenter() - Method in class bwapi.Race
-
Retrieves the default resource center UnitType that is used to create expansions for this Race.
- getCenter() - Method in class bwapi.Region
-
Retrieves the center of the region.
- getCenter() - Method in class bwapi.Regionset
-
Retrieves the center of the region.
- getCenter() - Method in class bwta.Chokepoint
-
- getCenter() - Method in class bwta.Polygon
-
- getCenter() - Method in class bwta.Region
-
- getChokepoints() - Static method in class bwta.BWTA
-
- getChokepoints() - Method in class bwta.Region
-
- getClosestAccessibleRegion() - Method in class bwapi.Region
-
Retrieves the closest accessible neighbor region.
- getClosestInaccessibleRegion() - Method in class bwapi.Region
-
Retrieves the closest inaccessible neighbor region.
- getColor() - Method in class bwapi.Player
-
Retrieves the color value of the current player.
- getCustomScore() - Method in class bwapi.Player
-
Retrieves the player's custom score.
- getDamageFrom(UnitType, UnitType, Player) - Method in class bwapi.Game
-
Calculates the damage received for a given player.
- getDamageFrom(UnitType, UnitType) - Method in class bwapi.Game
-
- getDamageFrom(UnitType, UnitType, Player, Player) - Method in class bwapi.Game
-
- getDamageTo(UnitType, UnitType, Player) - Method in class bwapi.Game
-
Calculates the damage dealt for a given player.
- getDamageTo(UnitType, UnitType) - Method in class bwapi.Game
-
- getDamageTo(UnitType, UnitType, Player, Player) - Method in class bwapi.Game
-
- getDefenseMatrixPoints() - Method in class bwapi.Unit
-
Retrieves the amount of hit points remaining on the Defensive Matrix created by a Science Vessel.
- getDefenseMatrixTimer() - Method in class bwapi.Unit
-
Retrieves the time, in frames, that the Defensive Matrix will remain active on the current unit.
- getDefensePriority() - Method in class bwapi.Region
-
Retrieves a value that represents the strategic advantage of this region relative to other regions.
- getDistance(AbstractPoint<T>) - Method in class bwapi.AbstractPoint
-
- getDistance(int, int) - Method in class bwapi.AbstractPoint
-
- getDistance(Region) - Method in class bwapi.Region
-
Retrieves the center-to-center distance between two regions.
- getDistance(Position) - Method in class bwapi.Unit
-
Retrieves the distance between this unit and a target.
- getDistance(Unit) - Method in class bwapi.Unit
-
- getDistance(PositionOrUnit) - Method in class bwapi.Unit
-
- getEnergy() - Method in class bwapi.Unit
-
Retrieves the unit's current Energy Points (Energy) as seen in the game.
- getEnsnareTimer() - Method in class bwapi.Unit
-
Retrieves the time, in frames, that Ensnare will remain active on the current unit.
- getForce(int) - Method in class bwapi.Game
-
Retrieves the Force interface object associated with a given identifier.
- getForce() - Method in class bwapi.Player
-
Retrieves the player's force.
- getForces() - Method in class bwapi.Game
-
Retrieves the set of all teams/forces.
- getFPS() - Method in class bwapi.Game
-
Retrieves the logical frame rate of the game in frames per second (FPS).
- getFrameCount() - Method in class bwapi.Game
-
Retrieves the number of logical frames since the beginning of the match.
- getGame() - Method in class bwapi.Mirror
-
- getGameType() - Method in class bwapi.Game
-
Retrieves the GameType of the current game.
- getGeysers() - Method in class bwapi.Game
-
Retrieves the set of all accessible Vespene Geysers in the game.
- getGeysers() - Method in class bwta.BaseLocation
-
- getGroundDistance(BaseLocation) - Method in class bwta.BaseLocation
-
- getGroundDistance(TilePosition, TilePosition) - Static method in class bwta.BWTA
-
- getGroundDistance2(TilePosition, TilePosition) - Static method in class bwta.BWTA
-
- getGroundDistances(TilePosition, List<TilePosition>) - Static method in class bwta.BWTA
-
- getGroundHeight(int, int) - Method in class bwapi.Game
-
Returns the ground height at the given tile position.
- getGroundHeight(TilePosition) - Method in class bwapi.Game
-
Returns the ground height at the given tile position.
- getGroundWeaponCooldown() - Method in class bwapi.Unit
-
Retrieves the unit's ground weapon cooldown.
- getHatchery() - Method in class bwapi.Unit
-
Retrieves the parent Hatchery, Lair, or Hive that owns this particular unit.
- getHitPoints() - Method in class bwapi.Unit
-
Retrieves the unit's current Hit Points (HP) as seen in the game.
- getHoles() - Method in class bwta.Polygon
-
- getID() - Method in class bwapi.Bullet
-
Retrieves a unique identifier for the current Bullet.
- getID() - Method in class bwapi.Force
-
Retrieves the unique ID that represents this Force.
- getID() - Method in class bwapi.Player
-
Retrieves a unique ID that represents the player.
- getID() - Method in class bwapi.Region
-
Retrieves a unique identifier for this region.
- getID() - Method in class bwapi.Unit
-
Retrieves a unique identifier for this unit.
- getInitialHitPoints() - Method in class bwapi.Unit
-
Retrieves the amount of hit points that this unit started off with at the beginning of the game.
- getInitialPosition() - Method in class bwapi.Unit
-
Retrieves the initial position of this unit.
- getInitialResources() - Method in class bwapi.Unit
-
Retrieves the amount of resources contained in the unit at the beginning of the game.
- getInitialTilePosition() - Method in class bwapi.Unit
-
Retrieves the initial build tile position of this unit.
- getInitialType() - Method in class bwapi.Unit
-
Retrieves the initial type of the unit.
- getInstanceNumber() - Method in class bwapi.Game
-
Retrieves the Starcraft instance number recorded by BWAPI to identify which Starcraft instance an AI module belongs to.
- getInterceptorCount() - Method in class bwapi.Unit
-
Retrieves the number of interceptors that this unit manages.
- getInterceptors() - Method in class bwapi.Unit
-
Retrieves the set of Interceptors controlled by this unit.
- getInterceptors() - Method in class bwapi.Unitset
-
Creates a single set containing all the Interceptors of all Carriers in this set.
- getIrradiateTimer() - Method in class bwapi.Unit
-
Retrieves the time, in frames, that Irradiate will remain active on the current unit.
- getKeyState(Key) - Method in class bwapi.Game
-
Retrieves the state of the given keyboard key.
- getKillCount() - Method in class bwapi.Unit
-
Retrieves the number of units that this unit has killed in total.
- getKillScore() - Method in class bwapi.Player
-
Retrieves the total kill score, as seen in the end-game score screen.
- getLarva() - Method in class bwapi.Unit
-
Retrieves the set of Larvae that were spawned by this unit.
- getLarva() - Method in class bwapi.Unitset
-
Creates a single set containing all the Larvae of all Hatcheries, Lairs, and Hives in this set.
- getLastAttackingPlayer() - Method in class bwapi.Unit
-
Retrieves the Player that last attacked this unit.
- getLastCommand() - Method in class bwapi.Unit
-
Retrieves the last successful command that was sent to BWAPI.
- getLastCommandFrame() - Method in class bwapi.Unit
-
Retrieves the frame number that sent the last successful command.
- getLastError() - Method in class bwapi.Game
-
Returns the last error that was set using setLastError.
- getLastEventTime() - Method in class bwapi.Game
-
Retrieves the amount of time (in milliseconds) that has elapsed when running the last AI module callback.
- getLatency() - Method in class bwapi.Game
-
Retrieves the current latency setting that the game is set to.
- getLatencyFrames() - Method in class bwapi.Game
-
Retrieves the maximum delay, in number of frames, between a command being issued and the command being executed by Broodwar.
- getLatencyTime() - Method in class bwapi.Game
-
Retrieves the maximum delay, in milliseconds, between a command being issued and the command being executed by Broodwar.
- getLeft() - Method in class bwapi.Unit
-
Retrieves the X coordinate of the unit's left boundary, measured in pixels from the left side of the map.
- getLength() - Method in class bwapi.Position
-
- getLength() - Method in class bwapi.TilePosition
-
- getLength() - Method in class bwapi.WalkPosition
-
- getLoadedUnits() - Method in class bwapi.Unit
-
Retrieves the set of units that are contained within this Bunker or Transport(Dropship, Shuttle, Overlord ).
- getLoadedUnits() - Method in class bwapi.Unitset
-
Creates a single set containing all units that are loaded into units of this set.
- getLockdownTimer() - Method in class bwapi.Unit
-
Retrieves the time, in frames, that Lockdown will remain active on the current unit.
- getMaelstromTimer() - Method in class bwapi.Unit
-
Retrieves the time, in frames, that Maelstrom will remain active on the current unit.
- getMaxDistance() - Method in class bwta.Region
-
- getMaxDistanceTransform() - Static method in class bwta.BWTA
-
- getMaxUpgradeLevel(UpgradeType) - Method in class bwapi.Player
-
Retrieves the maximum upgrades available specific to the player.
- getMinerals() - Method in class bwapi.Game
-
Retrieves the set of all accessible Mineral Fields in the game.
- getMinerals() - Method in class bwta.BaseLocation
-
- getModule() - Method in class bwapi.Mirror
-
- getMousePosition() - Method in class bwapi.Game
-
Retrieves the position of the user's mouse on the screen, in Position coordinates.
- getMouseState(MouseButton) - Method in class bwapi.Game
-
Retrieves the state of the given mouse button.
- getName() - Method in class bwapi.Force
-
Retrieves the name of the Force.
- getName() - Method in class bwapi.Player
-
Retrieves the name of the player.
- getNearestBaseLocation(int, int) - Static method in class bwta.BWTA
-
- getNearestBaseLocation(TilePosition) - Static method in class bwta.BWTA
-
- getNearestBaseLocation(Position) - Static method in class bwta.BWTA
-
- getNearestChokepoint(int, int) - Static method in class bwta.BWTA
-
- getNearestChokepoint(TilePosition) - Static method in class bwta.BWTA
-
- getNearestChokepoint(Position) - Static method in class bwta.BWTA
-
- getNearestPoint(Position) - Method in class bwta.Polygon
-
- getNearestTilePosition(TilePosition, List<TilePosition>) - Static method in class bwta.BWTA
-
- getNearestUnwalkablePolygon(int, int) - Static method in class bwta.BWTA
-
- getNearestUnwalkablePolygon(TilePosition) - Static method in class bwta.BWTA
-
- getNearestUnwalkablePosition(Position) - Static method in class bwta.BWTA
-
- getNeighbors() - Method in class bwapi.Region
-
Retrieves the set of neighbor Regions that this one is connected to.
- getNeutralUnits() - Method in class bwapi.Game
-
Retrieves the set of all accessible neutral units in the game.
- getNukeDots() - Method in class bwapi.Game
-
Retrieves the set of all accessible Nuke dots.
- getNydusExit() - Method in class bwapi.Unit
-
Retrieves the Nydus Canal that is attached to this one.
- getOrder() - Method in class bwapi.TechType
-
Retrieves the Order that a Unit uses when using this ability.
- getOrder() - Method in class bwapi.Unit
-
Retrieves the primary Order that the unit is assigned.
- getOrderTarget() - Method in class bwapi.Unit
-
Retrieves the unit's primary order target.
- getOrderTargetPosition() - Method in class bwapi.Unit
-
Retrieves the target position for the unit's order.
- getOrderTimer() - Method in class bwapi.Unit
-
Retrieves an internal timer used for the primary order.
- getPerimeter() - Method in class bwta.Polygon
-
- getPlagueTimer() - Method in class bwapi.Unit
-
Retrieves the time, in frames, that Plague will remain active on the current unit.
- getPlayer() - Method in class bwapi.Bullet
-
Retrieves the Player interface that owns the Bullet.
- getPlayer() - Method in class bwapi.Event
-
- getPlayer(int) - Method in class bwapi.Game
-
Retrieves the Player interface object associated with a given identifier.
- getPlayer() - Method in class bwapi.Unit
-
Retrieves the player that owns this unit.
- getPlayers() - Method in class bwapi.Force
-
Retrieves the set of players that belong to this Force.
- getPlayers() - Method in class bwapi.Forceset
-
Retrieves the set of players that belong to this Force.
- getPlayers() - Method in class bwapi.Game
-
Retrieves the set of all players in the match.
- getPoint() - Method in class bwapi.AbstractPoint
-
- getPoint() - Method in class bwapi.CenteredObject
-
- getPoint() - Method in class bwapi.Position
-
- getPoint() - Method in class bwapi.PositionedObject
-
- getPoint() - Method in class bwapi.TilePosition
-
- getPoint() - Method in class bwapi.WalkPosition
-
- getPoints() - Method in class bwta.Polygon
-
- getPolygon() - Method in class bwta.Region
-
- getPosition() - Method in class bwapi.Bullet
-
Retrieves the Bullet's current position.
- getPosition() - Method in class bwapi.Event
-
- getPosition() - Method in class bwapi.PositionedObject
-
- getPosition() - Method in class bwapi.PositionOrUnit
-
- getPosition() - Method in class bwapi.Unit
-
Retrieves the unit's position from the upper left corner of the map in pixels.
- getPosition() - Method in class bwapi.Unitset
-
Calculates the average of all valid Unit positions in this set.
- getPosition() - Method in class bwta.BaseLocation
-
- getPowerUp() - Method in class bwapi.Unit
-
Retrieves the power-up that the worker unit is holding.
- getRace() - Method in class bwapi.Player
-
Retrieves the race of the player.
- getRace() - Method in class bwapi.TechType
-
Retrieves the race that is required to research or use the TechType.
- getRace() - Method in class bwapi.UnitType
-
Retrieves the Race that the unit type belongs to.
- getRace() - Method in class bwapi.UpgradeType
-
Retrieves the race the upgrade is for.
- getRallyPosition() - Method in class bwapi.Unit
-
Retrieves the position the structure is rallying units to once they are completed.
- getRallyUnit() - Method in class bwapi.Unit
-
Retrieves the unit the structure is rallying units to once they are completed.
- getRazingScore() - Method in class bwapi.Player
-
Retrieves the total razing score, as seen in the end-game score screen.
- getReachableRegions() - Method in class bwta.Region
-
- getRefinery() - Method in class bwapi.Race
-
Retrieves the default structure UnitType for this Race that is used to harvest gas from Vespene Geysers.
- getRegion(int) - Method in class bwapi.Game
-
Retrieves the Region interface object associated with a given identifier.
- getRegion() - Method in class bwapi.Unit
-
Retrieves the Region that the center of the unit is in.
- getRegion() - Method in class bwta.BaseLocation
-
- getRegion(int, int) - Static method in class bwta.BWTA
-
- getRegion(TilePosition) - Static method in class bwta.BWTA
-
- getRegion(Position) - Static method in class bwta.BWTA
-
- getRegionAt(int, int) - Method in class bwapi.Game
-
Retrieves the region at a given position.
- getRegionAt(Position) - Method in class bwapi.Game
-
Retrieves the region at a given position.
- getRegionGroupID() - Method in class bwapi.Region
-
Retrieves a unique identifier for a group of regions that are all connected and accessible by each other.
- getRegions() - Static method in class bwta.BWTA
-
- getRegions() - Method in class bwta.Chokepoint
-
- getRemainingBuildTime() - Method in class bwapi.Unit
-
Retrieves the remaining build time for a unit or structure that is being trained or constructed.
- getRemainingLatencyFrames() - Method in class bwapi.Game
-
Retrieves the number of frames it will take before a command sent in the current frame will be executed by the game.
- getRemainingLatencyTime() - Method in class bwapi.Game
-
Retrieves the number of milliseconds it will take before a command sent in the current frame will be executed by Broodwar.
- getRemainingResearchTime() - Method in class bwapi.Unit
-
Retrieves the amount of time until the unit is done researching its currently assigned TechType.
- getRemainingTrainTime() - Method in class bwapi.Unit
-
Retrieves the remaining time, in frames, of the unit that is currently being trained.
- getRemainingUpgradeTime() - Method in class bwapi.Unit
-
Retrieves the amount of time until the unit is done upgrading its current upgrade.
- getRemoveTimer() - Method in class bwapi.Bullet
-
Retrieves the timer that indicates the Bullet's life span.
- getRemoveTimer() - Method in class bwapi.Unit
-
Retrieves the time, in frames, until this temporary unit is destroyed or removed.
- getReplayFrameCount() - Method in class bwapi.Game
-
Retrieves the maximum number of logical frames that have been recorded in a replay.
- getReplayID() - Method in class bwapi.Unit
-
Retrieves the unit identifier for this unit as seen in replay data.
- getResourceGroup() - Method in class bwapi.Unit
-
Retrieves a grouping index from a resource container.
- getResources() - Method in class bwapi.Unit
-
Retrieves the resource amount from a resource container, such as a Mineral Field and Vespene Geyser.
- getRevision() - Method in class bwapi.Game
-
Retrieves the current revision of BWAPI.
- getRight() - Method in class bwapi.Unit
-
Retrieves the X coordinate of the unit's right boundary, measured in pixels from the left side of the map.
- getScarabCount() - Method in class bwapi.Unit
-
Retrieves the number of scarabs that this unit has for use.
- getScreenPosition() - Method in class bwapi.Game
-
Retrieves the top left position of the viewport from the top left corner of the map, in pixels.
- getSecondaryOrder() - Method in class bwapi.Unit
-
Retrieves the secondary Order that the unit is assigned.
- getSelectedUnits() - Method in class bwapi.Game
-
Retrieves the set of units that are currently selected by the user outside of BWAPI.
- getShields() - Method in class bwapi.Unit
-
Retrieves the unit's current Shield Points (Shields) as seen in the game.
- getShortestPath(TilePosition, TilePosition) - Static method in class bwta.BWTA
-
- getShortestPath(TilePosition, List<TilePosition>) - Static method in class bwta.BWTA
-
- getSides() - Method in class bwta.Chokepoint
-
- getSlot() - Method in class bwapi.UnitCommand
-
- getSource() - Method in class bwapi.Bullet
-
Retrieves the Unit interface that the Bullet spawned from.
- getSpaceRemaining() - Method in class bwapi.Unit
-
Retrieves the remaining unit-space available for Bunkers and Transports(Dropships, Shuttles, Overlords ).
- getSpellCooldown() - Method in class bwapi.Unit
-
Retrieves the unit's ability cooldown.
- getSpiderMineCount() - Method in class bwapi.Unit
-
Retrieves the amount of Spider Mines this unit has available.
- getStartLocation() - Method in class bwapi.Player
-
Retrieve's the player's starting location.
- getStartLocation(Player) - Static method in class bwta.BWTA
-
- getStartLocations() - Method in class bwapi.Game
-
Retrieves the set of all starting locations for the current map.
- getStartLocations() - Static method in class bwta.BWTA
-
- getStasisTimer() - Method in class bwapi.Unit
-
Retrieves the time, in frames, that Stasis Field will remain active on the current unit.
- getStaticGeysers() - Method in class bwapi.Game
-
Retrieves the set of all Vespene Geysers that were available at the beginning of the game.
- getStaticMinerals() - Method in class bwapi.Game
-
Retrieves the set of all Mineral Fields that were available at the beginning of the game.
- getStaticMinerals() - Method in class bwta.BaseLocation
-
- getStaticNeutralUnits() - Method in class bwapi.Game
-
Retrieves the set of all units owned by the neutral player (resources, critters, etc.) that were available at the beginning of the game.
- getStimTimer() - Method in class bwapi.Unit
-
Retrieves the time, in frames, that Stim Packs will remain active on the current unit.
- getSupplyProvider() - Method in class bwapi.Race
-
Retrieves the default supply provider UnitType for this race that is used to construct units.
- getTarget() - Method in class bwapi.Bullet
-
Retrieves the Unit interface that the Bullet is heading to.
- getTarget() - Method in class bwapi.Unit
-
Generally returns the appropriate target unit after issuing an order that accepts a target unit (i.e. attack, repair, gather, etc.).
- getTarget() - Method in class bwapi.UnitCommand
-
- getTargetPosition() - Method in class bwapi.Bullet
-
Retrieves the target position that the Bullet is heading to.
- getTargetPosition() - Method in class bwapi.Unit
-
Retrieves the target position the unit is moving to, provided a valid path to the target position exists.
- getTargetPosition() - Method in class bwapi.UnitCommand
-
- getTargetTilePosition() - Method in class bwapi.UnitCommand
-
- getTech() - Method in class bwapi.Unit
-
Retrieves the technology that this unit is currently researching.
- getTech() - Method in class bwapi.WeaponType
-
Retrieves the technology type that must be researched before this weapon can be used.
- getText() - Method in class bwapi.Event
-
- getTextColor() - Method in class bwapi.Player
-
Retrieves the control code character that changes the color of text messages to represent this player.
- getTilePosition() - Method in class bwapi.Unit
-
Retrieves the unit's build position from the upper left corner of the map in tiles.
- getTilePosition() - Method in class bwta.BaseLocation
-
- getTop() - Method in class bwapi.Unit
-
Retrieves the Y coordinate of the unit's top boundary, measured in pixels from the top of the map.
- getTrainingQueue() - Method in class bwapi.Unit
-
Retrieves the list of units queued up to be trained.
- getTransport() - Method in class bwapi.Race
-
Retrieves the default transport UnitType for this race that is used to transport ground units across the map.
- getTransport() - Method in class bwapi.Unit
-
Retrieves the Transport(Dropship, Shuttle, Overlord ) or Bunker unit that has this unit loaded inside of it.
- getType() - Method in class bwapi.Bullet
-
Retrieves the type of this Bullet.
- getType() - Method in class bwapi.Event
-
- getType() - Method in class bwapi.Player
-
Retrieves the player's controller type.
- getType() - Method in class bwapi.Unit
-
Retrieves the unit's type.
- getUnit() - Method in class bwapi.Event
-
- getUnit(int) - Method in class bwapi.Game
-
Retrieves the Unit interface object associated with a given identifier.
- getUnit() - Method in class bwapi.PositionOrUnit
-
- getUnit() - Method in class bwapi.UnitCommand
-
- getUnitCommandType() - Method in class bwapi.UnitCommand
-
- getUnits() - Method in class bwapi.Player
-
Retrieves the set of all units that the player owns.
- getUnits() - Method in class bwapi.Playerset
-
Returns the set of all units that every player in this set owns.
- getUnits() - Method in class bwapi.Region
-
Retrieves a Unitset containing all the units that are in this region.
- getUnits() - Method in class bwapi.Regionset
-
Retrieves a Unitset containing all the units that are in this region.
- getUnitScore() - Method in class bwapi.Player
-
Retrieves the total unit score, as seen in the end-game score screen.
- getUnitsInRadius(int, int, int) - Method in class bwapi.Game
-
Retrieves the set of accessible units that are within a given radius of a position.
- getUnitsInRadius(Position, int) - Method in class bwapi.Game
-
Retrieves the set of accessible units that are within a given radius of a position.
- getUnitsInRadius(int) - Method in class bwapi.Unit
-
Retrieves the set of all units in a given radius of the current unit.
- getUnitsInRadius(int) - Method in class bwapi.Unitset
-
Retrieves the set of all units in a given radius of the current unit.
- getUnitsInRectangle(int, int, int, int) - Method in class bwapi.Game
-
Retrieves the set of accessible units that are in a given rectangle.
- getUnitsInRectangle(Position, Position) - Method in class bwapi.Game
-
Retrieves the set of accessible units that are in a given rectangle.
- getUnitsInWeaponRange(WeaponType) - Method in class bwapi.Unit
-
Obtains the set of units within weapon range of this unit.
- getUnitsOnTile(int, int) - Method in class bwapi.Game
-
Retrieves the set of accessible units that are on a given build tile.
- getUnitsOnTile(TilePosition) - Method in class bwapi.Game
-
Retrieves the set of accessible units that are on a given build tile.
- getUnwalkablePolygons() - Static method in class bwta.BWTA
-
- getUpgrade() - Method in class bwapi.Unit
-
Retrieves the upgrade that this unit is currently upgrading.
- getUpgradeLevel(UpgradeType) - Method in class bwapi.Player
-
Retrieves the current upgrade level that the player has attained for a given upgrade type.
- getValue() - Method in enum bwapi.Key
-
- getValue() - Method in enum bwapi.MouseButton
-
- getVelocityX() - Method in class bwapi.Bullet
-
Retrieves the X component of the Bullet's velocity, measured in pixels per frame.
- getVelocityX() - Method in class bwapi.Unit
-
Retrieves the x component of the unit's velocity, measured in pixels per frame.
- getVelocityY() - Method in class bwapi.Bullet
-
Retrieves the Y component of the Bullet's velocity, measured in pixels per frame.
- getVelocityY() - Method in class bwapi.Unit
-
Retrieves the y component of the unit's velocity, measured in pixels per frame.
- getWeapon() - Method in class bwapi.TechType
-
Retrieves the Weapon that is attached to this tech type.
- getWidth() - Method in class bwta.Chokepoint
-
- getWorker() - Method in class bwapi.Race
-
Retrieves the default worker type for this Race.
- getX() - Method in class bwapi.AbstractPoint
-
- getX() - Method in class bwapi.Position
-
- getX() - Method in class bwapi.TilePosition
-
- getX() - Method in class bwapi.WalkPosition
-
- getY() - Method in class bwapi.AbstractPoint
-
- getY() - Method in class bwapi.Position
-
- getY() - Method in class bwapi.TilePosition
-
- getY() - Method in class bwapi.WalkPosition
-
- Glave_Wurm - Static variable in class bwapi.BulletType
-
- Glave_Wurm - Static variable in class bwapi.WeaponType
-
- Glave_Wurm_Kukulza - Static variable in class bwapi.WeaponType
-
- Gravitic_Boosters - Static variable in class bwapi.UpgradeType
-
- Gravitic_Drive - Static variable in class bwapi.UpgradeType
-
- Gravitic_Thrusters - Static variable in class bwapi.UpgradeType
-
- Greed - Static variable in class bwapi.GameType
-
- Green - Static variable in class bwapi.Color
-
- Green - Static variable in class bwapi.Utils
-
- Green_p9 - Static variable in class bwapi.Utils
-
- Grey - Static variable in class bwapi.Color
-
- Grey - Static variable in class bwapi.Utils
-
- Greygreen - Static variable in class bwapi.Utils
-
- Grooved_Spines - Static variable in class bwapi.UpgradeType
-
- groundWeapon() - Method in class bwapi.UnitType
-
Retrieves this unit type's weapon type used when attacking targets on the ground.
- Guard - Static variable in class bwapi.Order
-
- GuardianAspect - Static variable in class bwapi.Order
-
- GuardPost - Static variable in class bwapi.Order
-