ManipulationLogic
ManipulationLogic
Simplified state machine for building manipulation Replaces LogicBlocks with a more direct implementation
Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/_incomplete/State/Manipulation/ManipulationLogic.cs
Namespace: GridBuilding.Core.State.Manipulation
Kind: class
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Methods
GetCurrentStateName
Gets the current state name
Returns: string
GetCurrentData
Gets the current manipulation data
Returns: ManipulationState?
IsInManipulationState
Checks if currently in an active manipulation state
Returns: bool
StartBuilding
Start building a new structure
Returns: void
Parameters:
CoreVector2I positionBuildingData? buildingData
StartDragging
Start dragging an object
Returns: void
Parameters:
CoreVector2I positionobject? draggedObject
StartRotating
Start rotating an object
Returns: void
Parameters:
CoreVector2I positionobject? rotatingObject
StartDeleting
Start deleting objects
Returns: void
Cancel
Cancel the current manipulation
Returns: void
Finish
Finish the current manipulation
Returns: void
UpdateTarget
Update the target position
Returns: void
Parameters:
CoreVector2I position