public interface Loadable extends PlayerUnit
Modifier and Type | Method and Description |
---|---|
java.util.List<MobileUnit> |
getLoadedUnits() |
int |
getSpaceRemaining() |
boolean |
isLoaded() |
boolean |
load(MobileUnit target) |
boolean |
load(MobileUnit target,
boolean queued)
Loads target unit into this transporter.
|
boolean |
unload(MobileUnit target) |
boolean |
unloadAll() |
boolean |
unloadAll(boolean queued) |
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
boolean isLoaded()
boolean load(MobileUnit target)
boolean load(MobileUnit target, boolean queued)
target
- unit to loadqueued
- true if command is queuedboolean unload(MobileUnit target)
boolean unloadAll()
boolean unloadAll(boolean queued)
int getSpaceRemaining()
java.util.List<MobileUnit> getLoadedUnits()