failRound
failRound(
world,reason):void
Defined in: packages/engine/src/gameplay/world/round.ts:87
Loses each round that has not ended, for reason: a crash, a fall, a
false start. The screen and the game read the reason back. Scored as it
ends, as finishRound is.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
reason |
string |
Returns
Section titled “Returns”void