ClassCollision & Math@public
FlxRandom
Mutable deterministic random source compatible with FlxG.globalSeed.
ts
export declare class FlxRandomConstructors
ts
constructor(seed?: number)Constructs a new instance of the FlxRandom class
| Parameter | Type | Description |
|---|---|---|
seed | number | - |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
seed | - | number | - |
Methods
next()
ts
next(): numberAdvances and returns the next number in the Flixel sequence.
Returns: number