import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Module: game/state","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/game/state.md","lastUpdated":null}'),l={name:"api/modules/game/state.md"},s=r('

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

',14),o=[s];function d(n,i,c,h,f,g){return a(),t("div",null,o)}const p=e(l,[["render",d]]);export{b as __pageData,p as default};