Difference between revisions of "RandomGenerator:setSeed"

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

Revision as of 04:52, 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

RandomGenerator:randomseed( seed )

Arguments

number seed
The seed to use for this object.

Returns

Nothing.

See Also

Other Languages