Table of Contents

Class DragManager

Namespace
GridPlacement.GDScript
Assembly
MoonBark.GridPlacement.GDScript.dll

DEPRECATED wrapper for the scene-free DragService.\n\nKept for backward compatibility (6.0.0-AC Phase 2). New code should obtain the service from GridPlacementHost.get_drag_service().\n\nAll public methods forward to the service. The wrapper's _input and _physics_process also forward, so consumers that use DragManager as a Node directly (e.g. tests, scenes) keep working.

class DragManager extends PlacementSystemsComponent
DragManager

Methods

resolve_placement_dependencies

func resolve_placement_dependencies(p_container: PlacementContainer) -> void:

Parameters

p_container

Returns

set_test_mode

func set_test_mode(enabled: bool) -> void:

Parameters

enabled

Returns

reset_physics_frame_gate

func reset_physics_frame_gate() -> void:

Returns

start_drag

func start_drag() -> DragPathData:

Returns

stop_drag

func stop_drag() -> void:

Returns

is_dragging

func is_dragging() -> bool:

Returns

update_drag_state

func update_drag_state(delta: float) -> void:

Parameters

delta

Returns

get_runtime_issues

func get_runtime_issues() -> Array[String]:

Returns

format_drag_state

static func format_drag_state(drag_data: DragPathData) -> String:

Parameters

drag_data

Returns