init.lua 363 B

123456789
  1. return {
  2. summary = 'A pseudo-random number generator.',
  3. description = [[
  4. A RandomGenerator is a standalone object that can be used to independently generate
  5. pseudo-random numbers. If you just need basic randomness, you can use `lovr.math.random` without
  6. needing to create a random generator.
  7. ]],
  8. constructor = 'lovr.math.newRandomGenerator'
  9. }