Beispiel #1
0
        public PrefixEditor()
        {
            this._hotbarIcon              = new UIImage(UIView.GetEmbeddedTexture("Images/reforge") /*Main.itemTexture[24]*/);
            this._hotbarIcon.onLeftClick += _hotbarIcon_onLeftClick;
            this.HotbarIcon.Tooltip       = "Prefix Editor";

            _prefixWindow   = new PrefixWindow();
            _prefixWindow.Y = 270;
            _prefixWindow.X = 130;
            this.AddUIView(_prefixWindow);
            _prefixWindow.Visible = false;
        }
Beispiel #2
0
        public PrefixEditor()
        {
            this._hotbarIcon              = new UIImage(HEROsMod.instance.GetTexture("Images/reforge") /*Main.itemTexture[24]*/);
            this._hotbarIcon.onLeftClick += _hotbarIcon_onLeftClick;
            this.HotbarIcon.Tooltip       = HEROsMod.HeroText("PrefixEditor");

            _prefixWindow   = new PrefixWindow();
            _prefixWindow.Y = 270;
            _prefixWindow.X = 130;
            this.AddUIView(_prefixWindow);
            _prefixWindow.Visible = false;
        }