using System; using System.Collections.Generic; namespace StansAssets.SceneManagement { public interface IApplicationStateStack : IReadOnlyApplicationStateStack where T : Enum { void RegisterState(T key, IApplicationState applicationState); void SetPreprocessAction(Action, Action> preprocessAction); void SetPostprocessAction(Action, Action> postprocessAction); IApplicationState GetStateFromEnum(T key); T GetStateEnum(IApplicationState key); } }