1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 03:31:52 +00:00

what's the difference apart from defaulting to random?

This commit is contained in:
mekb the turtle 2021-12-02 18:53:31 +11:00 committed by GitHub
parent e046ada889
commit 52f4827ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,12 +118,4 @@ export class RandomNumberGenerator {
assert(max > min, "rng: max <= min");
return this.next() * (max - min) + min;
}
/**
* Updates the seed
* @param {number} seed
*/
setSeed(seed) {
this.internalRng = makeNewRng(seed);
}
}