public class EngineeringBay extends BuildingImpl implements Mechanical, FlyingBuilding, ResearchingFacility
UnitImpl.TrainingSlot
ResearchingFacility.ResearchInProgress, ResearchingFacility.UpgradeInProgress
probableConstructionStart
Modifier | Constructor and Description |
---|---|
protected |
EngineeringBay(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 |
isLifted() |
boolean |
isResearching() |
boolean |
isUpgrading() |
boolean |
land(Position p) |
boolean |
lift() |
boolean |
move(Position p) |
boolean |
research(TechType techType) |
boolean |
upgrade(UpgradeType upgradeType) |
boolean |
upgradeInfantryArmor() |
boolean |
upgradeInfantryWeapons() |
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
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 EngineeringBay(UnitType unitType, int timeSpotted)
public boolean isLifted()
isLifted
in interface FlyingBuilding
public boolean lift()
lift
in interface FlyingBuilding
public boolean land(Position p)
land
in interface FlyingBuilding
public boolean move(Position p)
move
in interface FlyingBuilding
public boolean upgradeInfantryWeapons()
public boolean upgradeInfantryArmor()
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