Пример #1
0
        public Waypoints()
        {
            this._name                   = "Waypoints";
            this._hotbarIcon             = new UIImage(UIView.GetEmbeddedTexture("Images/waypointIcon"));
            this.HotbarIcon.Tooltip      = "View Waypoints";
            this.HotbarIcon.onLeftClick += HotbarIcon_onLeftClick;

            waypointWindow         = new WaypointWindow();
            waypointWindow.Visible = false;
            this.AddUIView(waypointWindow);
        }
Пример #2
0
        public Waypoints()
        {
            this._name                   = "Waypoints";
            this._hotbarIcon             = new UIImage(HEROsMod.instance.GetTexture("Images/waypointIcon"));
            this.HotbarIcon.Tooltip      = HEROsMod.HeroText("ViewWaypoints");
            this.HotbarIcon.onLeftClick += HotbarIcon_onLeftClick;

            waypointWindow         = new WaypointWindow();
            waypointWindow.Visible = false;
            this.AddUIView(waypointWindow);
        }