public void Load()
        {
            DimDungeonsProxy.madness      = new List <HellionInsanity>();
            DimDungeonsProxy.Instance     = this;
            DimDungeonsProxy.counter      = 0;
            DimDungeonsProxy.DungeonSeeds = (int)(System.DateTime.Now.Millisecond * 1370.3943162338);

            Filters.Scene["SGAmod:LimboSky"]       = new Filter(new ScreenShaderData("FilterMiniTower").UseColor(0.6f, 0.6f, 0.6f).UseOpacity(0.25f), EffectPriority.High);
            SkyManager.Instance["SGAmod:LimboSky"] = new LimboSky();
            LimboDim.CreateTextures();
            Filters.Scene["SGAmod:SpaceSky"]       = new Filter(new ScreenShaderData("FilterMiniTower").UseColor(1f, 1f, 1f).UseOpacity(0.0f), EffectPriority.High);
            SkyManager.Instance["SGAmod:SpaceSky"] = new SpaceSky();

            //On.Terraria.Player.Update += Player_Update;
            DrawOverride.InitTestThings();
        }
 public void Unload()
 {
     DimDungeonsProxy.Instance = null;
     LimboDim.DestroyTextures();
 }