MoveWorkflowManager

MoveWorkflowManager

Core move workflow management for manipulation operations (engine-agnostic). Handles move copy creation, setup, and workflow management without engine dependencies. Responsibilities:

  • Create and manage move copy objects
  • Handle move workflow state transitions
  • Validate move operations
  • Provide move completion logic

Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/_incomplete/Services/Manipulation/MoveWorkflowManager.cs
Namespace: GridBuilding.Core.Services.Manipulation
Kind: class

Parsing Method: AST-based (Roslyn) - NOT regex

⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.

Methods

StartMove

Starts a move operation for the specified target.

Returns: bool

Parameters:

  • ManipulationState manipulationState
  • string targetObjectId
  • CoreVector2I originalPosition

UpdateMove

Updates the move operation with new target position.

Returns: bool

Parameters:

  • ManipulationState manipulationState
  • CoreVector2I newPosition

CompleteMove

Completes the move operation.

Returns: MoveResult

Parameters:

  • ManipulationState manipulationState

CancelMove

Cancels the move operation.

Returns: bool

Parameters:

  • ManipulationState manipulationState

GetMoveWorkflow

Gets the current move workflow state.

Returns: MoveWorkflowState?

Parameters:

  • ManipulationState manipulationState

IsMoveActive

Checks if a move operation is active.

Returns: bool

Parameters:

  • ManipulationState manipulationState

GetActiveWorkflows

Gets all active move workflows.

Returns: Dictionary<string, MoveWorkflowState>

ClearAllWorkflows

Clears all move workflows (for cleanup/reset).

Returns: void