| 220 | uint32_t starting_gameloop_; |
| 221 | |
| 222 | void OnTestStart() override { |
| 223 | starting_gameloop_ = agent_->Observation()->GetGameLoop(); |
| 224 | const GameInfo& game_info = agent_->Observation()->GetGameInfo(); |
| 225 | unit_pos_ = FindCenterOfMap(game_info); |
| 226 | agent_->Debug()->DebugCreateUnit(UNIT_TYPEID::ZERG_LURKERMP, unit_pos_); |
| 227 | agent_->Debug()->DebugCreateUnit(UNIT_TYPEID::ZERG_LURKERMP, unit_pos_ + Point2D(5,5)); |
| 228 | agent_->Debug()->SendDebug(); |
| 229 | |
| 230 | wait_game_loops_ = 550; |
| 231 | } |
| 232 | |
| 233 | void OnStep() override { |
| 234 | const ObservationInterface* obs = agent_->Observation(); |
nothing calls this directly
no test coverage detected