Grid Placement

PlacementInputAdapter

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: core/services/placement_input_adapter.gd

Version: 5.1

class_name: PlacementInputAdapter extends: (none)

Summary

Placement 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 PlacementWorkflowOrchestrator.
  • TargetingService2D is injected because it is the single source of truth for resolving (mouse position -> targeting snapshot).
  • Produces GBOrchestratorOutput via signal emission; it does NOT apply effects.
  • Gated by GPModeService (only active in GBEnums.Mode.BUILD).

Signals

  • build_mode_pressed
  • off_mode_pressed
  • confirm_build_pressed

Exports

(none)

Methods

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