SaveGame..::..LoadGame Method

Retrieves a save game from persistent storage. If no persistent storage is specified, a new game is created. This static method is used as a factory to generate the SaveGame object that can be played using the Play method. This is the only static method.

Namespace:  AngbandOS.Core
Assembly:  AngbandOS.Core (in AngbandOS.Core.dll)

Syntax


public static SaveGame LoadGame(
	ICorePersistentStorage persistentStorage
)

Parameters

persistentStorage
Type: ICorePersistentStorage

Return Value