public class Armory extends BuildingImpl implements Mechanical, ResearchingFacility
UnitImpl.TrainingSlotResearchingFacility.ResearchInProgress, ResearchingFacility.UpgradeInProgressprobableConstructionStart| Modifier | Constructor and Description |
|---|---|
protected |
Armory(UnitType unitType,
int timeSpotted) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelResearch() |
boolean |
cancelUpgrade() |
boolean |
canResearch(TechType techType) |
boolean |
canUpgrade(UpgradeType upgradeType) |
ResearchingFacility.ResearchInProgress |
getResearchInProgress() |
ResearchingFacility.UpgradeInProgress |
getUpgradeInProgress() |
boolean |
isResearching() |
boolean |
isUpgrading() |
boolean |
research(TechType techType) |
boolean |
upgrade(UpgradeType upgradeType) |
boolean |
upgradeShipPlating() |
boolean |
upgradeShipWeapons() |
boolean |
upgradeVehiclePlating() |
boolean |
upgradeVehicleWeapons() |
cancelConstruction, getBuildTime, getLastKnownDistance, getLastKnownDistance, getLastKnownDistance, getProbableConstructionStart, getRemainingBuildTimegetAirWeaponCooldown, getAirWeaponDamage, getAirWeaponMaxCooldown, getAirWeaponMaxRange, getArmor, getBuildUnit, getDamageFrom, getDamageTo, getGasPrice, getGroundWeaponCooldown, getGroundWeaponDamage, getGroundWeaponMaxCooldown, getGroundWeaponMaxRange, getHitPoints, getInitialHitPoints, getLastCommand, getLastCommandFrame, getLastKnownHitPoints, getLastKnownPosition, getLastKnownTilePosition, getMaxAirHits, getMaxEnergy, getMaxGroundHits, getMineralPrice, getOrder, getOrderTarget, getOrderTargetPosition, getPlayer, getSecondaryOrder, getShields, getSightRange, getSpellCooldown, getTargetUnit, getTopSpeed, getUnitStatCalculator, 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, tileWidthcancelTrain, cancelTrain, canTrain, compareTo, equals, exists, getAllUnits, getAngle, getBottom, getClosest, getCurrentFrame, getDamageEvaluator, getDistance, getDistance, getDistance, getId, getInitiallySpotted, getInitialPosition, getInitialTilePosition, getKillCount, getLastSpotted, getLeft, getMiddle, getPlayer, getPosition, getRallyPosition, getRallyUnit, getRight, getSize, getTilePosition, getTop, getType, getUnit, getUnitsInRadius, getX, getY, hashCode, height, isFlying, isSelected, issueCommand, isVisible, setRallyPoint, setRallyPoint, toString, train, widthclone, finalize, getClass, notify, notifyAll, wait, wait, waitcancelConstruction, getBuildTime, getLastKnownDistance, getLastKnownDistance, getLastKnownDistance, getProbableConstructionStart, getRemainingBuildTimegetArmor, 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, widthprotected Armory(UnitType unitType, int timeSpotted)
public boolean upgradeVehiclePlating()
public boolean upgradeVehicleWeapons()
public boolean upgradeShipPlating()
public boolean upgradeShipWeapons()
public boolean isUpgrading()
isUpgrading in interface ResearchingFacilitypublic boolean isResearching()
isResearching in interface ResearchingFacilitypublic boolean cancelResearch()
cancelResearch in interface ResearchingFacilitycancelResearch in class UnitImplpublic boolean cancelUpgrade()
cancelUpgrade in interface ResearchingFacilitycancelUpgrade in class UnitImplpublic boolean canResearch(TechType techType)
canResearch in interface ResearchingFacilitycanResearch in class UnitImplpublic boolean canUpgrade(UpgradeType upgradeType)
canUpgrade in interface ResearchingFacilitycanUpgrade in class UnitImplpublic boolean research(TechType techType)
research in interface ResearchingFacilityresearch in class UnitImplpublic boolean upgrade(UpgradeType upgradeType)
upgrade in interface ResearchingFacilityupgrade in class UnitImplpublic ResearchingFacility.UpgradeInProgress getUpgradeInProgress()
getUpgradeInProgress in interface ResearchingFacilitygetUpgradeInProgress in class UnitImplpublic ResearchingFacility.ResearchInProgress getResearchInProgress()
getResearchInProgress in interface ResearchingFacilitygetResearchInProgress in class UnitImpl