Table of Contents

Class VariablePairPlacementInput<TCoordinate, TDirection, TPivot>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class VariablePairPlacementInput<TCoordinate, TDirection, TPivot> : IVariablePairPlacementInput<TPivot, TCoordinate>, IPlacementInput, IActionablePlacementInput, IDraggablePlacementInput<TCoordinate>, IDraggablePlacementInput, IForciblePlacementInput, IPreferredPlacementRotationModifier where TDirection : struct, IDirection3D<TDirection> where TPivot : struct, IPivot<TCoordinate, TDirection, TPivot>

Type Parameters

TCoordinate
TDirection
TPivot
Inheritance
object
VariablePairPlacementInput<TCoordinate, TDirection, TPivot>
Implements
IVariablePairPlacementInput<TPivot, TCoordinate>
Extension Methods

Constructors

VariablePairPlacementInput(GridRotation, int, int, bool)

public VariablePairPlacementInput(GridRotation startRotation, int minDistance, int maxDistance, bool isReversed)

Parameters

startRotation GridRotation
minDistance int
maxDistance int
isReversed bool

Properties

Cancelled

public bool Cancelled { get; set; }

Property Value

bool

Confirmed

public bool Confirmed { get; set; }

Property Value

bool

EndPivot

public TPivot EndPivot { get; set; }

Property Value

TPivot

IsReversed

public bool IsReversed { get; }

Property Value

bool

MaxDistance

public int MaxDistance { get; }

Property Value

int

MinDistance

public int MinDistance { get; }

Property Value

int

OverrideRange

public int? OverrideRange { get; set; }

Property Value

int?

PreferredRotation

public GridRotation PreferredRotation { get; set; }

Property Value

GridRotation

StartPivot

public TPivot StartPivot { get; set; }

Property Value

TPivot

StartedDragging

public bool StartedDragging { get; set; }

Property Value

bool

StartedPlacement

public bool StartedPlacement { get; set; }

Property Value

bool

UseForce

public bool UseForce { get; set; }

Property Value

bool

Methods

TryGetDraggedPosition(out TCoordinate)

public bool TryGetDraggedPosition(out TCoordinate position)

Parameters

position TCoordinate

Returns

bool

UpdateDraggedPosition(TCoordinate)

public void UpdateDraggedPosition(TCoordinate position)

Parameters

position TCoordinate