public interface Building extends PlayerUnit
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelConstruction() |
int |
getBuildTime() |
double |
getLastKnownDistance(Position position)
Returns the distance to given position from where this unit was located when it last was
visible.
|
int |
getLastKnownDistance(TilePosition position)
Returns the distance to given position from where this unit was located when it last was
visible.
|
double |
getLastKnownDistance(Unit target) |
int |
getProbableConstructionStart() |
int |
getRemainingBuildTime() |
getArmor, getBuildUnit, getDamageFrom, getDamageTo, getGasPrice, getHitPoints, getInitialHitPoints, getLastCommand, getLastCommandFrame, getLastKnownHitPoints, getLastKnownPosition, getLastKnownTilePosition, getMineralPrice, getOrder, getOrderTarget, getOrderTargetPosition, getPlayer, getSecondaryOrder, getShields, getSightRange, getSpellCooldown, getVelocityX, getVelocityY, getWeakestUnitInRadius, isAccelerating, isAttackFrame, isAttacking, isBeingConstructed, isBeingHealed, isCloaked, isCompleted, isDetected, isDetector, isFlyer, isIdle, isInterruptible, isIrradiated, isLockedDown, isMaelstrommed, isPowered, isStartingAttack, isUnderAttack, maxHitPoints, maxShields, rightClick, rightClick, tileHeight, tileWidthexists, getAngle, getBottom, getClosest, getDistance, getDistance, getDistance, getId, getInitiallySpotted, getInitialPosition, getInitialTilePosition, getKillCount, getLastSpotted, getLeft, getMiddle, getPosition, getRight, getSize, getTilePosition, getTop, getType, getUnitsInRadius, getX, getY, height, isFlying, isSelected, isVisible, widthboolean cancelConstruction()
int getBuildTime()
int getRemainingBuildTime()
int getProbableConstructionStart()
int getLastKnownDistance(TilePosition position)
position - tile position to measure distance todouble getLastKnownDistance(Position position)
position - position to measure distance todouble getLastKnownDistance(Unit target)