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; }
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; }