1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Show hint after unlocking level 4

This commit is contained in:
tobspr
2020-05-28 15:36:38 +02:00
parent 1582125d50
commit 955cba74aa
6 changed files with 57 additions and 4 deletions

View File

@@ -154,6 +154,16 @@ export class InGameState extends GameState {
});
}
/**
* Goes back to the settings state
*/
goToKeybindings() {
this.saveThenGoToState("KeybindingsState", {
backToStateId: this.key,
backToStatePayload: this.creationPayload,
});
}
/**
* Moves to a state outside of the game
* @param {string} stateId