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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
headlessGame |
HeadlessGame |
seconds |
number |
Returns
Section titled “Returns”void