Grid Placement

ManipulationInputAdapter

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: core/services/manipulation_input_adapter.gd

Version: 5.1

class_name: ManipulationInputAdapter extends: (none)

Summary

Manipulation input adapter.

Intended behavior:

  • Boundary: engine input -> targeting snapshot/target -> workflow orchestrator call.
  • This adapter owns reading raw InputEvent instances and converting them into calls on ManipulationWorkflowOrchestrator.
  • TargetingService2D is injected because it is the single source of truth for resolving (mouse position -> targeting snapshot) and (current target -> Node2D).
  • Produces GBOrchestratorOutput via signal emission; it does NOT apply effects.
  • Gated by GPModeService (active in GBEnums.Mode.MOVE and GBEnums.Mode.DEMOLISH).
  • _session_started is adapter-local input-session state (first confirm starts a session, second confirm commits). Domain state remains owned by the workflow.

Signals

(none)

Exports

(none)

Methods

  • configure()
  • _get_orchestrator()
  • handle_input()
  • _handle_confirm()