public class Drone extends Worker implements Organic, Burrowable, Morphable
UnitImpl.TrainingSlot
Constructor and Description |
---|
Drone() |
Modifier and Type | Method and Description |
---|---|
boolean |
burrow() |
boolean |
isBurrowed() |
boolean |
morph(UnitType type)
Morphs this unit into the given unit type.
|
boolean |
unburrow() |
build, gather, gather, getBuildType, getGroundWeapon, getGroundWeaponCooldown, getGroundWeaponDamage, getGroundWeaponMaxCooldown, getGroundWeaponMaxRange, getMaxGroundHits, isCarryingGas, isCarryingMinerals, isConstructing, isGatheringGas, isGatheringMinerals, returnCargo, returnCargo
attack, attack, attack, attack, follow, getAcidSporeCount, getSupplyRequired, getTargetPosition, getTargetUnit, getTopSpeed, getTransport, getTurnRadius, holdPosition, holdPosition, isBlind, isBraking, isDefenseMatrixed, isEnsnared, isFollowing, isHallucination, isHoldingPosition, isMoving, isParasited, isPatrolling, isPlagued, isStasised, isStuck, isUnderDarkSwarm, isUnderDisruptionWeb, isUnderStorm, move, move, patrol, patrol, stop
getAirWeaponCooldown, getAirWeaponDamage, getAirWeaponMaxCooldown, getAirWeaponMaxRange, getArmor, getBuildUnit, getDamageFrom, getDamageTo, getGasPrice, getGroundWeaponCooldown, getHitPoints, getInitialHitPoints, getLastCommand, getLastCommandFrame, getLastKnownHitPoints, getLastKnownPosition, getLastKnownTilePosition, getMaxAirHits, getMaxEnergy, getMineralPrice, getOrder, getOrderTarget, getOrderTargetPosition, getPlayer, getSecondaryOrder, getShields, getSightRange, getSpellCooldown, 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
cancelResearch, cancelTrain, cancelTrain, cancelUpgrade, canResearch, canTrain, canUpgrade, compareTo, equals, exists, getAllUnits, getAngle, getBottom, getClosest, getCurrentFrame, getDamageEvaluator, getDistance, getDistance, getDistance, getId, getInitiallySpotted, getInitialPosition, getInitialTilePosition, getKillCount, getLastSpotted, getLeft, getMiddle, getPlayer, getPosition, getRallyPosition, getRallyUnit, getResearchInProgress, getRight, getSize, getTilePosition, getTop, getType, getUnit, getUnitsInRadius, getUpgradeInProgress, getX, getY, hashCode, height, isFlying, isSelected, issueCommand, isVisible, research, setRallyPoint, setRallyPoint, toString, train, upgrade, width
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
attack, attack, getTargetUnit
public boolean burrow()
burrow
in interface Burrowable
public boolean unburrow()
unburrow
in interface Burrowable
public boolean isBurrowed()
isBurrowed
in interface Burrowable
public boolean morph(UnitType type)
Morphable
Unit.getId()
will be created.