Table of Contents

Class LineRotatePlacementTracker<TCoordinate, TDirection, TPivot>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class LineRotatePlacementTracker<TCoordinate, TDirection, TPivot> : IRotatePlacementTracker, IPlacementTracker where TCoordinate : IEquatable<TCoordinate> where TDirection : struct, IDirection3D<TDirection> where TPivot : IPivot<TCoordinate, TDirection, TPivot>

Type Parameters

TCoordinate
TDirection
TPivot
Inheritance
object
LineRotatePlacementTracker<TCoordinate, TDirection, TPivot>
Implements
Extension Methods

Constructors

LineRotatePlacementTracker(string, string)

public LineRotatePlacementTracker(string rotateCwKeybinding, string rotateCcwKeybinding)

Parameters

rotateCwKeybinding string
rotateCcwKeybinding string

Properties

OnRotate

public IEvent OnRotate { get; }

Property Value

IEvent

Methods

GetKeybindingHints()

public IEnumerable<PlacementKeybindingHintData> GetKeybindingHints()

Returns

IEnumerable<PlacementKeybindingHintData>

Track(InputDownstreamContext, Viewport, PlacementInputHolder, IReadOnlyMapLayoutModel, IPlacementData, IPlacementErrors, out bool)

public void Track(InputDownstreamContext inputContext, Viewport viewport, PlacementInputHolder placementInput, IReadOnlyMapLayoutModel map, IPlacementData placementData, IPlacementErrors placementErrors, out bool inputUpdated)

Parameters

inputContext InputDownstreamContext
viewport Viewport
placementInput PlacementInputHolder
map IReadOnlyMapLayoutModel
placementData IPlacementData
placementErrors IPlacementErrors
inputUpdated bool