Table of Contents

Struct UnitMovementQueue.MovementState

Namespace
Core.Units
Assembly
Core.dll

State for a unit currently in transit

public struct UnitMovementQueue.MovementState

Constructors

MovementState(ushort, ushort, int)

public MovementState(ushort origin, ushort destination, int days)

Parameters

origin ushort
destination ushort
days int

Fields

daysRemaining

public int daysRemaining

Field Value

int

destinationProvinceID

public ushort destinationProvinceID

Field Value

ushort

originProvinceID

public ushort originProvinceID

Field Value

ushort

totalDays

public int totalDays

Field Value

int

Methods

GetProgress()

Get movement progress as 0-1 value This is presentation-only (for UI progress bars), doesn't need FixedPoint64 determinism

public float GetProgress()

Returns

float