Table of Contents

Class LayerWalkPlacementTracker<TPivot, TCoordinate, TVector, TDirection>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class LayerWalkPlacementTracker<TPivot, TCoordinate, TVector, TDirection> : IPlacementTracker where TPivot : IPivot<TCoordinate, TDirection, TPivot> where TCoordinate : IDiscreteCoordinateTranslatableByVector<TCoordinate, TVector> where TVector : IVector<TVector>, IDirectionComposableVector<TVector, TDirection> where TDirection : IDirection<TDirection>

Type Parameters

TPivot
TCoordinate
TVector
TDirection
Inheritance
object
LayerWalkPlacementTracker<TPivot, TCoordinate, TVector, TDirection>
Implements
Extension Methods

Constructors

LayerWalkPlacementTracker(string, string, TVector)

public LayerWalkPlacementTracker(string layerUpKeybinding, string layerDownKeybinding, TVector up)

Parameters

layerUpKeybinding string
layerDownKeybinding string
up TVector

Methods

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