W3cubDocs

/Haxe C#

Random

package cs.system

@:libType@:csNative@:native("System.Random") Available on cs

Constructor

@:final @:overload new ()

@:final @:overload new (Seed:Int)

Methods

@:overload Next ():Int

@:overload Next (minValue:Int, maxValue:Int):Int

@:overload Next (maxValue:Int):Int

@:overload NextBytes (buffer:NativeArray<UInt8>):Void

@:overload NextDouble ():Float

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/Random.html