public class ScienceFacility extends BuildingImpl implements Mechanical, ResearchingFacility, ExtendibleByAddon
UnitImpl.TrainingSlot
ResearchingFacility.ResearchInProgress, ResearchingFacility.UpgradeInProgress
probableConstructionStart
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, getRemainingBuildTime
getAirWeaponCooldown, 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, tileWidth
cancelTrain, 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, width
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isBuildingAddon
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
protected ScienceFacility(UnitType unitType, int timeSpotted)
public CovertOps getCovertOps()
null
elsepublic PhysicsLab getPhysicsLab()
null
elsepublic Addon getAddon()
getAddon
in interface ExtendibleByAddon
public boolean cancelAddon()
cancelAddon
in interface ExtendibleByAddon
public boolean buildPhysicslab()
public boolean buildCovertOps()
public boolean build(UnitType addon)
build
in interface ExtendibleByAddon
public boolean researchEmpShockwave()
public boolean researchIrradiate()
public boolean upgradeTitanReactor()
public boolean isUpgrading()
isUpgrading
in interface ResearchingFacility
public boolean isResearching()
isResearching
in interface ResearchingFacility
public boolean cancelResearch()
cancelResearch
in interface ResearchingFacility
cancelResearch
in class UnitImpl
public boolean cancelUpgrade()
cancelUpgrade
in interface ResearchingFacility
cancelUpgrade
in class UnitImpl
public boolean canResearch(TechType techType)
canResearch
in interface ResearchingFacility
canResearch
in class UnitImpl
public boolean canUpgrade(UpgradeType upgradeType)
canUpgrade
in interface ResearchingFacility
canUpgrade
in class UnitImpl
public boolean research(TechType techType)
research
in interface ResearchingFacility
research
in class UnitImpl
public boolean upgrade(UpgradeType upgradeType)
upgrade
in interface ResearchingFacility
upgrade
in class UnitImpl
public ResearchingFacility.UpgradeInProgress getUpgradeInProgress()
getUpgradeInProgress
in interface ResearchingFacility
getUpgradeInProgress
in class UnitImpl
public ResearchingFacility.ResearchInProgress getResearchInProgress()
getResearchInProgress
in interface ResearchingFacility
getResearchInProgress
in class UnitImpl