Skip to content

1681-engine / ui / stepDrain

Function: stepDrain() ​

ts
function stepDrain(
   state, 
   dtMs, 
   options?
): void;

Defined in: src/ui/layout/barDrain.ts:35

Advances the trail by a frame dtMs long.

Parameters ​

ParameterType
stateDrainState
dtMsnumber
optionsDrainOptions

Returns ​

void

Released under the MIT License.