stepWorld
stepWorld(
world,step):void
Defined in: packages/engine/src/gameplay/step.ts:202
Advances the world by one step: the previous transforms, then the
world’s systems in order. A plain function with no clock and no React,
so a server, a test and the loop drive it alike; a world with a
StepProfile times each of them on its clock.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
step |
StepOptions |
Returns
Section titled “Returns”void