Skip to content
On this page

Module: game/state

Interfaces

Transient

Transient: Object

An object of global data that is not persistent.

NameTypeDescription
NaNPath?string[]The location within the player save data object of the NaN value.
NaNPersistent?Persistent<DecimalSource>The ref that was being set to NaN.
errorsError[]List of errors that have occurred, to show the user.
hasNaNbooleanWhether or not a NaN value has been detected and undealt with.
lastTenTicksnumber[]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

Variables

default

default: ShallowReactive<Transient>

The global transient state object.

Defined in

profectus/src/game/state.ts:26