Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Random

Default implementation of IRandom.

Hierarchy

  • Random

Implements

Index

Constructors

Methods

Constructors

constructor

  • Returns Random

  • Parameters

    • seed: number

    Returns Random

Methods

next

  • next(minValue: number, maxValue: number): number
  • Parameters

    • minValue: number
    • maxValue: number

    Returns number

nextDouble

  • nextDouble(): number
  • inheritdoc

    Returns number