love.math.newRandomGenerator
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Creates a new RandomGenerator that is completely independent of other RandomGenerator objects or other random functions.
Contents
Function
Synopsis
rng = love.graphics.newRandomGenerator( )
Arguments
None
Returns
RandomGenerator rng
- A Random Number Generator object.
Function
Synopsis
rng = love.graphics.newRandomGenerator( seed )
Arguments
number seed
- The seed to use for this instance of the object.
Returns
RandomGenerator rng
- A Random Number Generator object.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info