Skip to content
On this page

Interface: Transient

game/state.Transient

An object of global data that is not persistent.

Properties

NaNPath

Optional NaNPath: string[]

The location within the player save data object of the NaN value.

Defined in

profectus/src/game/state.ts:12


NaNPersistent

Optional NaNPersistent: Persistent<DecimalSource>

The ref that was being set to NaN.

Defined in

profectus/src/game/state.ts:14


hasNaN

hasNaN: boolean

Whether or not a NaN value has been detected and undealt with.

Defined in

profectus/src/game/state.ts:10


lastTenTicks

lastTenTicks: number[]

A list of the duration, in ms, of the last 10 game ticks. Used for calculating TPS.

Defined in

profectus/src/game/state.ts:8