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

Method setRallyPoint

bwapi/BWAPILIB/UnitCommand.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 return c;
73 }
74 UnitCommand UnitCommand::setRallyPoint(Unit unit, Position target)
75 {
76 UnitCommand c{ unit, UnitCommandTypes::Set_Rally_Position };
77 c.assignTarget(target);
78 return c;
79 }
80 UnitCommand UnitCommand::setRallyPoint(Unit unit, Unit target)
81 {
82 UnitCommand c{ unit, UnitCommandTypes::Set_Rally_Unit };

Callers 2

startMethod · 0.45
updateMethod · 0.45

Calls 1

assignTargetMethod · 0.80

Tested by 2

startMethod · 0.36
updateMethod · 0.36