From ced3d03bdb3ce866d832e03fb212865140905a9a Mon Sep 17 00:00:00 2001 From: Thomas Leyh Date: Sun, 24 Jul 2016 08:14:18 +0200 Subject: Add project files. --- V3/Data/ISaveGameManager.cs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 V3/Data/ISaveGameManager.cs (limited to 'V3/Data/ISaveGameManager.cs') diff --git a/V3/Data/ISaveGameManager.cs b/V3/Data/ISaveGameManager.cs new file mode 100644 index 0000000..f4e810f --- /dev/null +++ b/V3/Data/ISaveGameManager.cs @@ -0,0 +1,25 @@ +using System.Collections.Generic; + +namespace V3.Data +{ + /// + /// Stores and manages the game state in save games. + /// + public interface ISaveGameManager + { + /// + /// Creates and persists a new save game of the given data with the + /// title. + /// + /// the data to store + void CreateSaveGame(GameState gameState); + + /// + /// Loads all available save games and returns them ordered by the + /// creation date. + /// + /// a list of all available save games, orderd by creation + /// data + List GetSaveGames(); + } +} \ No newline at end of file -- cgit v1.2.1