Method: Sc2::Player::Actions#action_spatial_camera_move

Defined in:
lib/sc2ai/player/actions.rb

#action_spatial_camera_move(center_minimap:) ⇒ void

This method returns an undefined value.

Simulates a click on the minimap to move the camera.

Parameters:



195
196
197
198
199
200
201
202
203
# File 'lib/sc2ai/player/actions.rb', line 195

def action_spatial_camera_move(center_minimap:)
  queue_action Api::Action.new(
    action_feature_layer: Api::ActionSpatial.new(
      camera_move: Api::ActionSpatialCameraMove.new(
        center_minimap: center_minimap
      )
    )
  )
end