MCPcopy Create free account
hub / github.com/bwapi/bwapi / assignTarget

Method assignTarget

bwapi/include/BWAPI/UnitCommand.h:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79 template <class T, int S>
80 void assignTarget(Point<T, S> target)
81 {
82 target.makeValid();
83 x = target.x;
84 y = target.y;
85 }
86
87 Unit unit = nullptr;
88 UnitCommandType type = UnitCommandTypes::None;

Callers 10

attackMethod · 0.80
buildMethod · 0.80
setRallyPointMethod · 0.80
moveMethod · 0.80
patrolMethod · 0.80
landMethod · 0.80
unloadAllMethod · 0.80
rightClickMethod · 0.80
useTechMethod · 0.80
placeCOPMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected