using System; using System.Collections.Generic; namespace StansAssets.SceneManagement { public interface IReadOnlyApplicationStateStack where T : Enum { bool IsCurrent(T applicationState); void AddDelegate(IApplicationStateDelegate @delegate); void RemoveDelegate(IApplicationStateDelegate @delegate); void Pop(); void Pop(Action onComplete); void Set(T state); void Set(T state, Action onComplete); void Push(T state); void Push(T state, Action onComplete); IEnumerable States { get; } bool IsBusy { get; } } }