Difference between revisions of "love.math.setRandomSeed"

(Created page with "{{newin|0.9.0|090|type=function}} Seeds the random number generator with a specified number. == Function == === Synopsis === <source lang="lua"> love.math.randomseed( seed ) ...")
 
m (moved love.math.randomseed to love.math.setRandomState: Function has been renamed and changed)
(No difference)

Revision as of 04:38, 11 August 2013

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Seeds the random number generator with a specified number.

Function

Synopsis

love.math.randomseed( seed )

Arguments

number seed
The number with which you want to seed the randomization.

Returns

Nothing.

See Also

Other Languages