using System;
namespace Framework.Storage.Containers {
/// Informations stored in a game state (saved game)
///
/// This interface should be implemented by the game state records so generic
/// UI and other components can access some of the game state's properties without
/// having to be reimplemented specifically for each game.
///
public interface IGameState {
/// Last time the user played on this state (UTC time)
DateTime LastPlayed { get; set; }
/// For how long the user been playing this state in total
TimeSpan PlayingTime { get; set; }
/// How far along the game the state is
float Progress { get; }
}
} // namespace Framework.Storage.Containers