Skip to content

editorGlobalsRandom

Class: Random

Hierarchy

  • Random

Index

Constructors

Properties

Methods

Constructors

constructor

+ new Random(seededRandom: SR): Random

Defined in src/util/Random.ts:4

Parameters:

Name Type Default
seededRandom SR SR("nester")

Returns: Random

Properties

Private Readonly seededRandom

seededRandom: SR

Defined in src/util/Random.ts:4

Methods

shuffleArray

shuffleArray(a: any[]): any[]

Defined in src/util/Random.ts:9

Parameters:

Name Type
a any[]

Returns: any[]