public interface TrainingFacility extends Building
Modifier and Type | Method and Description |
---|---|
boolean |
cancelTrain() |
boolean |
cancelTrain(int slot) |
boolean |
canTrain(UnitType type) |
int |
getRemainingTrainTime() |
java.util.List<UnitImpl.TrainingSlot> |
getTrainingQueue() |
boolean |
isTraining() |
boolean |
setRallyPoint(Position p) |
boolean |
setRallyPoint(Unit target) |
boolean |
train(UnitType type) |
cancelConstruction, getBuildTime, getLastKnownDistance, getLastKnownDistance, getLastKnownDistance, getProbableConstructionStart, 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, tileWidth
exists, 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, width
boolean isTraining()
java.util.List<UnitImpl.TrainingSlot> getTrainingQueue()
int getRemainingTrainTime()
boolean train(UnitType type)
boolean canTrain(UnitType type)
boolean cancelTrain(int slot)
boolean cancelTrain()
boolean setRallyPoint(Position p)
boolean setRallyPoint(Unit target)