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:
parent
a7a2aad2b6
commit
5a1c24c9df
@ -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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user