Constructor
# new AppStorage(context)
Create a new app storage instance.
Parameters:
Name | Type | Description |
---|---|---|
context |
BrowserWindow
|
the electron browser window |
Members
Methods
# saveGameToFile(save) → {void}
Save a game object to a new save file.
Parameters:
Name | Type | Description |
---|---|---|
save |
Object
|
the save game object |
void
# saveSettingsToFile(settings) → {void}
Save game settings to file.
Parameters:
Name | Type | Description |
---|---|---|
settings |
Object
|
void