Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Random

Utility class for generating random numbers

Hierarchy

  • Random

Index

Constructors

Methods

Constructors

Methods

  • between(min: number, max: number): number
  • Generate a random float between two given values

    Parameters

    • min: number

      the minimum number (inclusive)

    • max: number

      the maximum number (exclusive)

    Returns number

    the random float