Constructors
constructor
- new SaveLoad(game: Game): SaveLoad
-
Methods
exploreAsGhost
- exploreAsGhost(): void
-
Returns void
play
- play(options: Partial<IPlayOptions>): Promise<boolean>
-
Returns Promise<boolean>
requestPlay
- requestPlay(options: Partial<IPlayOptions> & {
slot: number;
}): Promise<boolean>
-
Returns Promise<boolean>
respawn
- respawn(): void
-
Returns void
save
- save(saveType: SaveType, load?: Load): Promise<undefined | ISaveInfo>
-
Returns Promise<undefined | ISaveInfo>
saveSynchronous
- saveSynchronous(saveType: SaveType): undefined | ISaveInfo
-
Returns undefined | ISaveInfo
Called from the GameEnd menu