Class MemoryOptionsStore

Namespace
SurvivorsMaker.Run
Assembly
SurvivorsMaker.Run.dll

Session-only options storage that copies values on load and save.

public sealed class MemoryOptionsStore : IOptionsStore
Inheritance
MemoryOptionsStore
Implements
Inherited Members

Constructors

MemoryOptionsStore()

public MemoryOptionsStore()

Methods

Load()

Loads user preferences; implementations choose their fallback when no saved options exist.

public OptionsState Load()

Returns

OptionsState

Save(OptionsState)

Stores user preferences without coupling them to progression or the saved run.

public void Save(OptionsState options)

Parameters

options OptionsState