Files
JuegoSim/-o/InteractionLayer/Managers/GhostExtensions/AxisMoveStrategy.puml
T
2026-07-21 08:56:10 +03:00

21 lines
683 B
Plaintext

@startuml
class AxisMoveStrategy {
- <<readonly>> _lockedRotation : Quaternion
- _isDragging : bool
- _axisDirection : Vector3
- _axisOrigin : Vector3
- _clampMin : float
- _clampMax : float
- _camera : Camera
- _frozenPosition : Vector3
- _lastMousePos : Vector2
- _accumulated : float
+ AxisMoveStrategy(lockedRotation:Quaternion, clampMin:float, clampMax:float)
+ BeginDrag(axisDirection:Vector3, ghostPosition:Vector3) : void
+ EndDrag() : void
+ UpdateMovement(ctx:GhostMovementContext) : void
- TrySocketSnap(ctx:GhostMovementContext) : bool
}
IGhostMovementStrategy <|-- AxisMoveStrategy
@enduml