public class SunkenColony extends BuildingImpl implements Organic, GroundAttacker
UnitImpl.TrainingSlotprobableConstructionStart| 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, getRemainingBuildTimegetAirWeaponCooldown, 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, tileWidthcancelResearch, 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, widthclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetArmor, 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, tileWidthexists, 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, widthprotected SunkenColony(UnitType unitType, int timeSpotted)
public boolean attack(Unit target, boolean queued)
public Weapon getGroundWeapon()
getGroundWeapon in interface GroundAttackerpublic Unit getTargetUnit()
getTargetUnit in interface AttackergetTargetUnit in class PlayerUnitImplpublic int getMaxGroundHits()
getMaxGroundHits in interface GroundAttackergetMaxGroundHits in class PlayerUnitImplpublic int getGroundWeaponMaxRange()
getGroundWeaponMaxRange in interface GroundAttackergetGroundWeaponMaxRange in class PlayerUnitImplpublic int getGroundWeaponMaxCooldown()
getGroundWeaponMaxCooldown in interface GroundAttackergetGroundWeaponMaxCooldown in class PlayerUnitImplpublic int getGroundWeaponCooldown()
getGroundWeaponCooldown in interface GroundAttackerpublic int getGroundWeaponDamage()
getGroundWeaponDamage in interface GroundAttackergetGroundWeaponDamage in class PlayerUnitImpl