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

Method SetOriginPoint

tests/test_unit_command.cc:958–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956 }
957
958 void SetOriginPoint() override {
959 const GameInfo& game_info = agent_->Observation()->GetGameInfo();
960 origin_pt_ = GetPointOffsetX(FindCenterOfMap(game_info), -10);
961 }
962
963 void SetTestTime() override {
964 wait_game_loops_ = 100;

Callers

nothing calls this directly

Calls 2

FindCenterOfMapFunction · 0.85
ObservationMethod · 0.80

Tested by

no test coverage detected