Update helpers

This commit is contained in:
Andras Schmelczer 2023-05-21 11:01:31 +01:00
parent 12fa81c3ed
commit a76b515b80
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
4 changed files with 18 additions and 7 deletions

View file

@ -1,6 +1,5 @@
// https://stackoverflow.com/questions/521295/seeding-the-random-number-generator-in-javascript, Mulberry32
export abstract class Random {
// https://stackoverflow.com/questions/521295/seeding-the-random-number-generator-in-javascript, Mulberry32
private static _seed = 42;
public static set seed(value: number) {