Class AreaRotatePlacementTracker<TTransform, TCoordinate>
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class AreaRotatePlacementTracker<TTransform, TCoordinate> : IRotatePlacementTracker, IPlacementTracker where TTransform : ITransform<TCoordinate, TTransform> where TCoordinate : IEquatable<TCoordinate>
Type Parameters
TTransformTCoordinate
- Inheritance
-
objectAreaRotatePlacementTracker<TTransform, TCoordinate>
- Implements
- Extension Methods
Constructors
AreaRotatePlacementTracker(string, string)
public AreaRotatePlacementTracker(string rotateCwKeybinding, string rotateCcwKeybinding)
Parameters
rotateCwKeybindingstringrotateCcwKeybindingstring
Properties
OnRotate
public IEvent OnRotate { get; }
Property Value
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
inputContextInputDownstreamContextviewportViewportplacementInputPlacementInputHoldermapIReadOnlyMapLayoutModelplacementDataIPlacementDataplacementErrorsIPlacementErrorsinputUpdatedbool