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
TPivotTCoordinateTVectorTDirection
- Inheritance
-
objectLayerWalkPlacementTracker<TPivot, TCoordinate, TVector, TDirection>
- Implements
- Extension Methods
Constructors
LayerWalkPlacementTracker(string, string, TVector)
public LayerWalkPlacementTracker(string layerUpKeybinding, string layerDownKeybinding, TVector up)
Parameters
layerUpKeybindingstringlayerDownKeybindingstringupTVector
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
inputContextInputDownstreamContextviewportViewportplacementInputPlacementInputHoldermapIReadOnlyMapLayoutModelplacementDataIPlacementDataplacementErrorsIPlacementErrorsinputUpdatedbool