SymbolMoveResolver class final
The shell's MoveResolver (D8) over its faces and its library.
Constructors
- SymbolMoveResolver({required WallFaces faces, required SymbolLibrary? library(), bool canRotate()?})
Properties
- canRotate → bool Function()?
-
Whether a move may turn the symbol (the host's
rotate), read at each call; null allows. While it refuses, the symbol attaches only to a face that keeps its turn, and keeps its linear part (Slice 4's F-7).final - faces → WallFaces
-
The shell's face cache, shared with the placement tool (D3).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- library → SymbolLibrary? Function()
-
The library when it is ready, read at each call; null: never attach.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveMove(
ToolContext ctx, Handle node, Transform2 delta) → ({Vector2 marker, Transform2 transform})? -
For a root-level instance whose library entry carries
againstWallTag, with object snap on, the library ready and an
orthonormal transform (W-8: a file's scaled instance never attaches,
so its scale is never dropped): attachToWall for the plain-moved
back-centre
delta · T · c(S-1), its own instance excluded from the neighbours, its mirror kept, and, while canRotate refuses, its linear part kept; the marker is the face point. Else null. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited