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:
parent
e046ada889
commit
52f4827ac9
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user