MCPcopy Create free account
hub / github.com/Blizzard/s2client-api / SetOriginPoint

Method SetOriginPoint

tests/test_unit_command_common.cc:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 void TestUnitCommand::SetOriginPoint() {
76 const GameInfo& game_info = agent_->Observation()->GetGameInfo();
77 origin_pt_ = FindCenterOfMap(game_info);
78 }
79
80 void TestUnitCommand::SetTestTime() {
81 wait_game_loops_ = 150;

Callers

nothing calls this directly

Calls 2

FindCenterOfMapFunction · 0.85
ObservationMethod · 0.80

Tested by

no test coverage detected