| Method | Defined By | ||
|---|---|---|---|
Random(prng:Class = null) | Random | ||
autoSeed():void
Gather anything we have that isn't entirely predictable:
- memory used
- system capabilities
- timing stuff
- installed fonts
| Random | ||
dispose():void | Random | ||
nextByte():int | Random | ||
nextBytes(buffer:ByteArray, length:int):void | Random | ||
seed(x:int = 0):void | Random | ||
toString():String | Random | ||
| Random | () | Constructor |
public function Random(prng:Class = null)prng:Class (default = null) |
| autoSeed | () | method |
public function autoSeed():voidGather anything we have that isn't entirely predictable: - memory used - system capabilities - timing stuff - installed fonts
| dispose | () | method |
public function dispose():void| nextByte | () | method |
public function nextByte():intReturnsint |
| nextBytes | () | method |
public function nextBytes(buffer:ByteArray, length:int):voidParameters
buffer:ByteArray | |
length:int |
| seed | () | method |
public function seed(x:int = 0):voidParameters
x:int (default = 0) |
| toString | () | method |
public function toString():StringReturnsString |