class_docstr: An agent specifically for solving the MoveToBeacon map.
class_docstr_tok: ["An","agent","specifically","for","solving","the","MoveToBeacon","map","."]
code: def step(self, obs):
      super(MoveToBeacon, self).step(obs)
      if FUNCTIONS.Move_screen.id in obs.observation.available_actions:
          player_relative = (
              obs.observation.feature_screen.player_relative
          )
          beacon = _xy_locs(player_relative == _PLAYER_NEUTRAL)
          if not beacon:
              return FUNCTIONS.no_op()
          beacon_center = numpy.mean(beacon, axis=0).round()
          return FUNCTIONS.Move_screen("now", beacon_center)
      else:
          return FUNCTIONS.select_army("select")
  
imports: import numpy
  from pysc2.agents import base_agent
  from pysc2.lib import actions
  from pysc2.lib import features
label_desc: Use image node_id 1 for calling the MoveToBeacon obj's underlying member method code with example usage: obj.step(obs) and returns: FUNCTIONS, FUNCTIONS, FUNCTIONS