Beispiel #1
0
 public void Dispose()
 {
     TopPanel.OnDeactivate();
     HeroOverlay.OnDeactivate();
     ItemPanel.OnDeactivate();
     NetworthPanel.OnDeactivate();
     ShrineHelper.OnDeactivate();
     TpCatcher.OnDeactivate();
     LastPositionTracker.OnDeactivate();
     OpenDotaHelper.OnDeactivate();
     ShowMeMore.Dispose();
     RoshanTimer.Dispose();
     ShowIllusions.Dispose();
     Factory?.Dispose();
 }
Beispiel #2
0
        public Config(OverlayInformation overlayInformation)
        {
            Factory = MenuFactory.Create("Overlay Information");
            Factory.Target.SetFontColor(Color.YellowGreen);

            Main                = overlayInformation;
            TopPanel            = new TopPanel(this);
            HeroOverlay         = new HeroOverlay(this);
            CourEsp             = new CourEsp(this);
            ItemPanel           = new ItemPanel(this);
            NetworthPanel       = new NetworthPanel(this);
            ShrineHelper        = new ShrineHelper(this);
            TpCatcher           = new TpCatcher(this);
            LastPositionTracker = new LastPositionTracker(this);
            OpenDotaHelper      = new OpenDotaHelper(this);
            ShowMeMore          = new ShowMeMore(this);
            RoshanTimer         = new RoshanTimer(this);
            ShowIllusions       = new ShowIllusions(this);
        }