1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-02-12 10:59:23 +00:00

Add seed to GameCreationPayload

This commit is contained in:
Daan Breur 2021-11-13 14:41:04 +01:00
parent a7a2aad2b6
commit 5a1c24c9df

View File

@ -48,6 +48,9 @@ export class GameCreationPayload {
/** @type {object|undefined} */ /** @type {object|undefined} */
this.gameModeParameters; this.gameModeParameters;
/** @type {number} */
this.seed;
} }
} }
@ -73,6 +76,9 @@ export class InGameState extends GameState {
/** @type {Savegame} */ /** @type {Savegame} */
this.savegame = null; this.savegame = null;
/** @type {number} */
this.seed = null;
this.boundInputFilter = this.filterInput.bind(this); this.boundInputFilter = this.filterInput.bind(this);
/** /**