RandomGenerator:setSeed

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