Unitset

Class

class pybrood.Unitset
getPosition() → Tuple[int, int]
getLoadedUnits() → Unitset
getInterceptors() → Unitset
getLarva() → Unitset
getUnitsInRadius(radius: int) → Unitset
getClosestUnit(radius: int=999999) → Unit
attack(target: Tuple[int, int], shiftQueueCommand: bool=False) → bool
attack(target: Unit, shiftQueueCommand: bool=False) → bool
build(type: UnitType, target: Tuple[int, int]=TILEPOSITION_NONE) → bool
buildAddon(type: UnitType) → bool
train(type: UnitType) → bool
morph(type: UnitType) → bool
setRallyPoint(target: Unit) → bool
setRallyPoint(target: Tuple[int, int]) → bool
move(target: Tuple[int, int], shiftQueueCommand: bool=False) → bool
patrol(target: Tuple[int, int], shiftQueueCommand: bool=False) → bool
holdPosition(shiftQueueCommand: bool=False) → bool
stop(shiftQueueCommand: bool=False) → bool
follow(target: Unit, shiftQueueCommand: bool=False) → bool
gather(target: Unit, shiftQueueCommand: bool=False) → bool
returnCargo(shiftQueueCommand: bool=False) → bool
repair(target: Unit, shiftQueueCommand: bool=False) → bool
burrow() → bool
unburrow() → bool
cloak() → bool
decloak() → bool
siege() → bool
unsiege() → bool
lift() → bool
load(target: Unit, shiftQueueCommand: bool=False) → bool
unloadAll(shiftQueueCommand: bool=False) → bool
unloadAll(target: Tuple[int, int], shiftQueueCommand: bool=False) → bool
rightClick(target: Unit, shiftQueueCommand: bool=False) → bool
rightClick(target: Tuple[int, int], shiftQueueCommand: bool=False) → bool
haltConstruction() → bool
cancelConstruction() → bool
cancelAddon() → bool
cancelTrain(slot: int=-2) → bool
cancelMorph() → bool
cancelResearch() → bool
cancelUpgrade() → bool
useTech(tech: TechType, target: Unit=None) → bool
useTech(tech: TechType, target: Tuple[int, int]) → bool