public Group(UICommChannel ui, string rootId, string idSuffix, string titlePrefix) { this._titleImageLabel = new ImageLabel(ui, ui.Path(rootId, "title" + idSuffix)); this._pointBlankRangeInfo = new WeaponRangeInfo(ui, ui.Path(rootId, "rangeInfo.pb" + idSuffix)); this._effectiveRangeInfo = new WeaponRangeInfo(ui, ui.Path(rootId, "rangeInfo.eff" + idSuffix)); this._maximumRangeInfo = new WeaponRangeInfo(ui, ui.Path(rootId, "rangeInfo.max" + idSuffix)); this._titlePrefix = titlePrefix; }
public WeaponScalarStats(UICommChannel ui, string id) : base(ui, id) { this._rateOfFireLabel = new ImageLabel(ui, this.UI.Path(this.ID, "rofIconLabel")); this._popDamageLabel = new ImageLabel(ui, this.UI.Path(this.ID, "popIconLabel")); this._infraDamageLabel = new ImageLabel(ui, this.UI.Path(this.ID, "infraIconLabel")); this._terraDamageLabel = new ImageLabel(ui, this.UI.Path(this.ID, "terraIconLabel")); }