blob: f4e810f5d7554026707b3030c0e87801b7c5ebfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using System.Collections.Generic;
namespace V3.Data
{
/// <summary>
/// Stores and manages the game state in save games.
/// </summary>
public interface ISaveGameManager
{
/// <summary>
/// Creates and persists a new save game of the given data with the
/// title.
/// </summary>
/// <param name="gameState">the data to store</param>
void CreateSaveGame(GameState gameState);
/// <summary>
/// Loads all available save games and returns them ordered by the
/// creation date.
/// </summary>
/// <returns>a list of all available save games, orderd by creation
/// data</returns>
List<ISaveGame> GetSaveGames();
}
}
|