Skip to content

1681-engine / ui / DrainOptions

Interface: DrainOptions ​

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

Extended by ​

Properties ​

delayMs? ​

ts
optional delayMs?: number;

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

How long the trail holds after a loss before draining (default 400 ms).


rate? ​

ts
optional rate?: number;

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

How fast it drains, in whole bars a second (default 0.6).

Released under the MIT License.