public abstract class MobileUnitImpl extends PlayerUnitImpl implements MobileUnit
UnitImpl.TrainingSlot
Constructor and Description |
---|
MobileUnitImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
attack(Position p) |
boolean |
attack(Position p,
boolean queued) |
boolean |
attack(Unit target) |
boolean |
attack(Unit target,
boolean queued) |
boolean |
follow(Unit target,
boolean queued) |
int |
getAcidSporeCount() |
int |
getSupplyRequired() |
Position |
getTargetPosition() |
Unit |
getTargetUnit() |
double |
getTopSpeed() |
Loadable |
getTransport() |
int |
getTurnRadius() |
boolean |
holdPosition() |
boolean |
holdPosition(boolean queued) |
boolean |
isBlind() |
boolean |
isBraking() |
boolean |
isDefenseMatrixed() |
boolean |
isEnsnared() |
boolean |
isFollowing() |
boolean |
isHallucination() |
boolean |
isHoldingPosition() |
boolean |
isMoving() |
boolean |
isParasited() |
boolean |
isPatrolling() |
boolean |
isPlagued() |
boolean |
isStasised() |
boolean |
isStuck() |
boolean |
isUnderDarkSwarm() |
boolean |
isUnderDisruptionWeb() |
boolean |
isUnderStorm() |
boolean |
move(Position p) |
boolean |
move(Position p,
boolean queued) |
boolean |
patrol(Position p) |
boolean |
patrol(Position p,
boolean queued) |
boolean |
stop(boolean queued) |
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, 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
public boolean attack(Position p)
attack
in interface MobileUnit
public boolean attack(Position p, boolean queued)
attack
in interface MobileUnit
public boolean attack(Unit target)
attack
in interface MobileUnit
public boolean attack(Unit target, boolean queued)
attack
in interface MobileUnit
public boolean move(Position p)
move
in interface MobileUnit
public boolean move(Position p, boolean queued)
move
in interface MobileUnit
public boolean patrol(Position p)
patrol
in interface MobileUnit
public boolean patrol(Position p, boolean queued)
patrol
in interface MobileUnit
public boolean holdPosition()
holdPosition
in interface MobileUnit
public boolean holdPosition(boolean queued)
holdPosition
in interface MobileUnit
public boolean stop(boolean queued)
stop
in interface MobileUnit
public boolean follow(Unit target, boolean queued)
follow
in interface MobileUnit
public int getAcidSporeCount()
getAcidSporeCount
in interface MobileUnit
public Loadable getTransport()
getTransport
in interface MobileUnit
public boolean isFollowing()
isFollowing
in interface MobileUnit
public boolean isHoldingPosition()
isHoldingPosition
in interface MobileUnit
public boolean isStasised()
isStasised
in interface MobileUnit
public boolean isUnderDarkSwarm()
isUnderDarkSwarm
in interface MobileUnit
public boolean isUnderDisruptionWeb()
isUnderDisruptionWeb
in interface MobileUnit
public boolean isUnderStorm()
isUnderStorm
in interface MobileUnit
public boolean isParasited()
isParasited
in interface MobileUnit
public boolean isPatrolling()
isPatrolling
in interface MobileUnit
public boolean isPlagued()
isPlagued
in interface MobileUnit
public boolean isMoving()
isMoving
in interface MobileUnit
public Position getTargetPosition()
getTargetPosition
in interface MobileUnit
public Unit getTargetUnit()
getTargetUnit
in interface MobileUnit
getTargetUnit
in class PlayerUnitImpl
public int getTurnRadius()
getTurnRadius
in interface MobileUnit
public boolean isStuck()
isStuck
in interface MobileUnit
public int getSupplyRequired()
getSupplyRequired
in interface MobileUnit
public boolean isHallucination()
isHallucination
in interface MobileUnit
public boolean isBlind()
isBlind
in interface MobileUnit
public boolean isBraking()
isBraking
in interface MobileUnit
public boolean isDefenseMatrixed()
isDefenseMatrixed
in interface MobileUnit
public boolean isEnsnared()
isEnsnared
in interface MobileUnit
public double getTopSpeed()
getTopSpeed
in interface MobileUnit
getTopSpeed
in class PlayerUnitImpl