public class SunkenColony extends BuildingImpl implements Organic, GroundAttacker
UnitImpl.TrainingSlot
probableConstructionStart
Modifier | Constructor and Description |
---|---|
protected |
SunkenColony(UnitType unitType,
int timeSpotted) |
Modifier and Type | Method and Description |
---|---|
boolean |
attack(Unit target) |
boolean |
attack(Unit target,
boolean queued) |
Weapon |
getGroundWeapon() |
int |
getGroundWeaponCooldown() |
int |
getGroundWeaponDamage() |
int |
getGroundWeaponMaxCooldown() |
int |
getGroundWeaponMaxRange() |
int |
getMaxGroundHits() |
Unit |
getTargetUnit() |
cancelConstruction, getBuildTime, getLastKnownDistance, getLastKnownDistance, getLastKnownDistance, getProbableConstructionStart, getRemainingBuildTime
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, 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
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
protected SunkenColony(UnitType unitType, int timeSpotted)
public boolean attack(Unit target, boolean queued)
public Weapon getGroundWeapon()
getGroundWeapon
in interface GroundAttacker
public Unit getTargetUnit()
getTargetUnit
in interface Attacker
getTargetUnit
in class PlayerUnitImpl
public int getMaxGroundHits()
getMaxGroundHits
in interface GroundAttacker
getMaxGroundHits
in class PlayerUnitImpl
public int getGroundWeaponMaxRange()
getGroundWeaponMaxRange
in interface GroundAttacker
getGroundWeaponMaxRange
in class PlayerUnitImpl
public int getGroundWeaponMaxCooldown()
getGroundWeaponMaxCooldown
in interface GroundAttacker
getGroundWeaponMaxCooldown
in class PlayerUnitImpl
public int getGroundWeaponCooldown()
getGroundWeaponCooldown
in interface GroundAttacker
public int getGroundWeaponDamage()
getGroundWeaponDamage
in interface GroundAttacker
getGroundWeaponDamage
in class PlayerUnitImpl