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:10


NaNReceiver

Optional NaNReceiver: Record<string, unknown>

The parent object of the NaN value.

Defined in

profectus/src/game/state.ts:12


hasNaN

hasNaN: boolean

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

Defined in

profectus/src/game/state.ts:8


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:6