Table of Contents

Class BlueprintPlacementInput<TCoordinate>

Namespace
Root
Assembly
Game.Interaction.dll
public class BlueprintPlacementInput<TCoordinate> : IBlueprintInput<TCoordinate>, IPlacementInput, IActionablePlacementInput, IRestartablePlacementInput, IDraggablePlacementInput<TCoordinate>, IDraggablePlacementInput, IForciblePlacementInput, IRotatablePlacementInput, IPreferredPlacementRotationModifier where TCoordinate : IEquatable<TCoordinate>

Type Parameters

TCoordinate
Inheritance
object
BlueprintPlacementInput<TCoordinate>
Implements
IBlueprintInput<TCoordinate>
Extension Methods

Constructors

BlueprintPlacementInput(GridRotation, bool)

public BlueprintPlacementInput(GridRotation rotation, bool flipped)

Parameters

rotation GridRotation
flipped bool

Properties

Cancelled

public bool Cancelled { get; set; }

Property Value

bool

Confirmed

public bool Confirmed { get; set; }

Property Value

bool

EndPosition

public TCoordinate EndPosition { get; set; }

Property Value

TCoordinate

IsFlipped

public bool IsFlipped { get; set; }

Property Value

bool

MirroredAcrossPrimaryAxis

public bool MirroredAcrossPrimaryAxis { get; set; }

Property Value

bool

MirroredAcrossSecondaryAxis

public bool MirroredAcrossSecondaryAxis { get; set; }

Property Value

bool

PreferredRotation

public GridRotation PreferredRotation { get; }

Property Value

GridRotation

Rotation

public GridRotation Rotation { get; set; }

Property Value

GridRotation

StartPosition

public TCoordinate StartPosition { get; set; }

Property Value

TCoordinate

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

Restart()

public void Restart()

Rotate(GridRotation)

public void Rotate(GridRotation rotation)

Parameters

rotation GridRotation

TryGetDraggedPosition(out TCoordinate)

public bool TryGetDraggedPosition(out TCoordinate position)

Parameters

position TCoordinate

Returns

bool

UpdateDraggedPosition(TCoordinate)

public void UpdateDraggedPosition(TCoordinate position)

Parameters

position TCoordinate