Number of times this Pool will drop. If function, it will be called each time the Pool starts to determine how many times the current run will drop.
Distribution of drops within the pool: 1 = neutral, lower = later, higher = earlier. Uses weightedRandom under the hood.
Duration of this pool (ms). If function, it will be called each time the Pool starts to determine how long the currnt run will last.
Whether this Pool will loop.
Fires when the Pool stops and is not looping.
Fires for each drop in the Pool. Callback is passed the drop index.
The number of times the present run will drop.
The distribution weighting for drops in the Pool * (1 = neutral, lower = later, higher = earlier). Uses weightedRandom under the hood.
NB: This will be changed to use a distribution function in future versions.
Total duration of the current iteration of the pool (ms).
Whether the Pool should restart when it ends.
Fires when the Pool is paused.
Fires when the Pool is resumed.
Fires at the start of a Pool cycle.
Fires at the end of a Pool cycle.
Pauses the Pool.
Resumes the Pool.
Starts the pool.
Stops and resets the pool.
Generated using TypeDoc
Pool
Represents a pool of time in which things (represented by drops) might happen.