public final class UnitCommand extends Object
public static UnitCommand attack(Unit unit, Position target)
public static UnitCommand attack(Unit unit, Unit target)
public static UnitCommand attack(Unit unit, Position target, boolean shiftQueueCommand)
public static UnitCommand attack(Unit unit, Unit target, boolean shiftQueueCommand)
public static UnitCommand build(Unit unit, TilePosition target, UnitType type)
public static UnitCommand buildAddon(Unit unit, UnitType type)
public static UnitCommand train(Unit unit, UnitType type)
public static UnitCommand morph(Unit unit, UnitType type)
public static UnitCommand research(Unit unit, TechType tech)
public static UnitCommand upgrade(Unit unit, UpgradeType upgrade)
public static UnitCommand setRallyPoint(Unit unit, Position target)
public static UnitCommand setRallyPoint(Unit unit, Unit target)
public static UnitCommand move(Unit unit, Position target)
public static UnitCommand move(Unit unit, Position target, boolean shiftQueueCommand)
public static UnitCommand patrol(Unit unit, Position target)
public static UnitCommand patrol(Unit unit, Position target, boolean shiftQueueCommand)
public static UnitCommand holdPosition(Unit unit)
public static UnitCommand holdPosition(Unit unit, boolean shiftQueueCommand)
public static UnitCommand stop(Unit unit)
public static UnitCommand stop(Unit unit, boolean shiftQueueCommand)
public static UnitCommand follow(Unit unit, Unit target)
public static UnitCommand follow(Unit unit, Unit target, boolean shiftQueueCommand)
public static UnitCommand gather(Unit unit, Unit target)
public static UnitCommand gather(Unit unit, Unit target, boolean shiftQueueCommand)
public static UnitCommand returnCargo(Unit unit)
public static UnitCommand returnCargo(Unit unit, boolean shiftQueueCommand)
public static UnitCommand repair(Unit unit, Unit target)
public static UnitCommand repair(Unit unit, Unit target, boolean shiftQueueCommand)
public static UnitCommand burrow(Unit unit)
public static UnitCommand unburrow(Unit unit)
public static UnitCommand cloak(Unit unit)
public static UnitCommand decloak(Unit unit)
public static UnitCommand siege(Unit unit)
public static UnitCommand unsiege(Unit unit)
public static UnitCommand lift(Unit unit)
public static UnitCommand land(Unit unit, TilePosition target)
public static UnitCommand load(Unit unit, Unit target)
public static UnitCommand load(Unit unit, Unit target, boolean shiftQueueCommand)
public static UnitCommand unload(Unit unit, Unit target)
public static UnitCommand unloadAll(Unit unit)
public static UnitCommand unloadAll(Unit unit, boolean shiftQueueCommand)
public static UnitCommand unloadAll(Unit unit, Position target)
public static UnitCommand unloadAll(Unit unit, Position target, boolean shiftQueueCommand)
public static UnitCommand rightClick(Unit unit, Position target)
public static UnitCommand rightClick(Unit unit, Unit target)
public static UnitCommand rightClick(Unit unit, Position target, boolean shiftQueueCommand)
public static UnitCommand rightClick(Unit unit, Unit target, boolean shiftQueueCommand)
public static UnitCommand haltConstruction(Unit unit)
public static UnitCommand cancelConstruction(Unit unit)
public static UnitCommand cancelAddon(Unit unit)
public static UnitCommand cancelTrain(Unit unit)
public static UnitCommand cancelTrain(Unit unit, int slot)
public static UnitCommand cancelMorph(Unit unit)
public static UnitCommand cancelResearch(Unit unit)
public static UnitCommand cancelUpgrade(Unit unit)
public static UnitCommand useTech(Unit unit, TechType tech)
public static UnitCommand useTech(Unit unit, TechType tech, Position target)
public static UnitCommand useTech(Unit unit, TechType tech, Unit target)
public static UnitCommand placeCOP(Unit unit, TilePosition target)
public Unit getUnit()
public UnitCommandType getType()
public Unit getTarget()
public int getSlot()
public Position getTargetPosition()
public TilePosition getTargetTilePosition()
public UnitType getUnitType()
public TechType getTechType()
public UpgradeType getUpgradeType()
public boolean isQueued()
Copyright © 2022. All rights reserved.