Exemplo n.º 1
0
        public static void Next()
        {
            if (Data.Level.IsLast)
            {
                throw new InvalidOperationException(Data.Level.name + " is the last Level in the " + Data.Level.Region.name + ", Can't Progress any further");
            }

            Instance.Exit();

            var target = Data.Level.Next;

            target.Load(Data.Difficulty);
        }
Exemplo n.º 2
0
        public static void Retry()
        {
            Instance.Exit();

            Data.Level.Reload();
        }
Exemplo n.º 3
0
        //Utility
        public static void Quit()
        {
            Instance.Exit();

            Core.Scenes.Load.One(Core.Scenes.MainMenu);
        }