using System; using Framework.Services; namespace Framework.State { /// Manages the state of the game in the current scene [ ServiceScope(Scope.Session), DefaultBinding(typeof(StateManager)) ] public interface IStateManager { /// Triggered when the game is being paused event Action Paused; /// Triggered when the game resumes from pause mode event Action Resumed; /// Pauses the game void Pause(); /// Resumes the game void Resume(); /// Whether the game is currently paused bool IsPaused { get; } } } // namespace Framework.State