Table of Contents

Class VariablePairRotatePlacementTracker<TCoordinate, TDirection, TPivot>

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

Type Parameters

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

Constructors

VariablePairRotatePlacementTracker(string, string, GridRotation)

public VariablePairRotatePlacementTracker(string rotateKeybinding, string rotateInvKeybinding, GridRotation rotationStep)

Parameters

rotateKeybinding string
rotateInvKeybinding string
rotationStep GridRotation

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