예제 #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;
 }
예제 #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;
 }