Grid Placement

GridPositionerMovement

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: systems/grid_targeting/grid_positioner/components/positioner_movement.gd

Version: 5.1

class_name: GridPositionerMovement extends: RefCounted

Summary

GridPositionerMovement

Dedicated service for handling movement calculations and tile positioning logic. Encapsulates recentering logic, movement clamping, and coordinate conversion.

Signals

(none)

Exports

(none)

Methods

  • _init()
  • move_by_tile_delta()
    • Moves the positioner by a specified number of tiles in a given direction
  • move_to_viewport_center()
    • Move positioner to the center tile of the viewport/camera view
  • move_to_cursor_center()
    • Move positioner to the center tile at the cursor location when available
  • apply_manual_recenter()
    • Apply manual recenter logic based on settings
  • _is_input_ready()
  • _get_active_viewport()
  • _convert_screen_to_world()