blob: 3a7f9018322228791c4aab05ff9d9e52f7a15bc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
namespace V3.Data
{
/// <summary>
/// Stores the current game state.
/// </summary>
public interface IGameStateManager
{
/// <summary>
/// Stores the current game state and returns it.
/// </summary>
/// <returns>the current game state</returns>
GameState GetGameState();
/// <summary>
/// Restores the given game state.
/// </summary>
/// <param name="gameState">the game state to restore</param>
void LoadGameState(GameState gameState);
}
}
|