Table of Contents

Class PreferredPathDirectionTracker<TPivot, TCoordinate, TVector, TDirection, TAxis>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class PreferredPathDirectionTracker<TPivot, TCoordinate, TVector, TDirection, TAxis> : IPlacementTracker where TPivot : IPivot<TCoordinate, TDirection, TPivot> where TCoordinate : struct, IDiscreteCoordinateTranslatableByVector<TCoordinate, TVector> where TVector : IVector<TVector, TDirection, TAxis> where TDirection : IDirection<TDirection> where TAxis : IAxis<TAxis>

Type Parameters

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

Constructors

PreferredPathDirectionTracker(IDiscreteSpace<TVector, TDirection, TAxis>)

public PreferredPathDirectionTracker(IDiscreteSpace<TVector, TDirection, TAxis> discreteSpace)

Parameters

discreteSpace IDiscreteSpace<TVector, TDirection, TAxis>

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