Class Index | File Index

Classes


Class URBGEN.Math.Random


Defined in: UrbGen.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Represents a psuedorandom number generator with the specified seed.
Field Summary
Field Attributes Field Name and Description
 
This random number generator's seed value.
Method Summary
Method Attributes Method Name and Description
 
next()
Returns the next psuedorandom number (0 - 1) for this psuedorandom number generator.
Class Detail
URBGEN.Math.Random(seed)
Represents a psuedorandom number generator with the specified seed.
Parameters:
{number} seed
- This random number generator's seed value.
Field Detail
{number} seed
This random number generator's seed value.
Method Detail
{number} next()
Returns the next psuedorandom number (0 - 1) for this psuedorandom number generator.
Returns:
{number} The next pseudorandom number for this generator.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Sep 04 2014 11:25:30 GMT+0100 (BST)