public class ScienceFacility extends BuildingImpl implements Mechanical, ResearchingFacility, ExtendibleByAddon
UnitImpl.TrainingSlotResearchingFacility.ResearchInProgress, ResearchingFacility.UpgradeInProgressprobableConstructionStart| Modifier | Constructor and Description |
|---|---|
protected |
ScienceFacility(UnitType unitType,
int timeSpotted) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
build(UnitType addon) |
boolean |
buildCovertOps()
Builds a Covert Ops addon to this science facility.
|
boolean |
buildPhysicslab()
Builds a Physics Lab addon to this science facility.
|
boolean |
cancelAddon() |
boolean |
cancelResearch() |
boolean |
cancelUpgrade() |
boolean |
canResearch(TechType techType) |
boolean |
canUpgrade(UpgradeType upgradeType) |
Addon |
getAddon() |
CovertOps |
getCovertOps()
Gets the Covert Ops addon, if there is one.
|
PhysicsLab |
getPhysicsLab()
Gets the Physics Lab addon, if there is one.
|
ResearchingFacility.ResearchInProgress |
getResearchInProgress() |
ResearchingFacility.UpgradeInProgress |
getUpgradeInProgress() |
boolean |
isResearching() |
boolean |
isUpgrading() |
boolean |
research(TechType techType) |
boolean |
researchEmpShockwave() |
boolean |
researchIrradiate() |
boolean |
upgrade(UpgradeType upgradeType) |
boolean |
upgradeTitanReactor() |
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, waitisBuildingAddoncancelConstruction, 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 ScienceFacility(UnitType unitType, int timeSpotted)
public CovertOps getCovertOps()
null elsepublic PhysicsLab getPhysicsLab()
null elsepublic Addon getAddon()
getAddon in interface ExtendibleByAddonpublic boolean cancelAddon()
cancelAddon in interface ExtendibleByAddonpublic boolean buildPhysicslab()
public boolean buildCovertOps()
public boolean build(UnitType addon)
build in interface ExtendibleByAddonpublic boolean researchEmpShockwave()
public boolean researchIrradiate()
public boolean upgradeTitanReactor()
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