Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

stepSeconds

stepSeconds(headlessGame, seconds): void

Advances the world by the whole fixed steps nearest to seconds, on the input last sent. No clock: five seconds is 300 steps however long they take.

Parameter Type
headlessGame HeadlessGame
seconds number

void