Table of Contents

Class SingleRotatePlacementTracker<TCoordinate, TDirection, TPivot>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class SingleRotatePlacementTracker<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
SingleRotatePlacementTracker<TCoordinate, TDirection, TPivot>
Implements
Extension Methods

Constructors

SingleRotatePlacementTracker(string, string)

public SingleRotatePlacementTracker(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