Ejemplo n.º 1
0
 public MapRevealer(UIHotbar hotbar)
 {
     IsInHotbar                    = true;
     HotbarParent                  = hotbar;
     this._name                    = "Map Revealer";
     this._hotbarIcon              = new UIImage(UIView.GetEmbeddedTexture("Images/map") /*ModUtils.RevealMapTexture*/);
     this._hotbarIcon.onLeftClick += _hotbarIcon_onLeftClick;
     this.HotbarIcon.Tooltip       = "Reveal Map";
     instance = this;
 }
Ejemplo n.º 2
0
 public MapRevealer(UIHotbar hotbar)
 {
     IsInHotbar                    = true;
     HotbarParent                  = hotbar;
     this._name                    = "Map Revealer";
     this._hotbarIcon              = new UIImage(HEROsMod.instance.GetTexture("Images/map") /*ModUtils.RevealMapTexture*/);
     this._hotbarIcon.onLeftClick += _hotbarIcon_onLeftClick;
     this.HotbarIcon.Tooltip       = HEROsMod.HeroText("RevealMap");
     instance = this;
 }