Skip to content

Profectus / features/reset / trackResetTime

Function: trackResetTime() ​

trackResetTime(layer, reset): Persistent<default>

Track the time since the specified reset last occured.

Parameters ​

layer ​

BaseLayer

The layer the reset is attached to

reset ​

Reset

The reset mechanic to track the time since

Returns ​

Persistent<default>

Defined in ​

profectus/src/features/reset.ts:93