Method | Description | |
---|---|---|
JsonHandlingStrategy ( string fileName ) : System |
Initializes a new instance of the JsonHandlingStrategy class.
|
|
Load ( ) : IHighscoreTable |
Loads a IHighscoreTable from a JSON formatted file.
|
|
Save ( IHighscoreTable table ) : void |
Saves a IHighscoreTable to a JSON formatted file.
|
public JsonHandlingStrategy ( string fileName ) : System | ||
fileName | string | The name of the file to be used for loading and saving. |
return | System |
public Save ( IHighscoreTable table ) : void | ||
table | IHighscoreTable | The concrete implementation of a table. |
return | void |