private Stat(StatTag tag, CombinationStrategy combinator, String nameShort, bool useBinaryEditor) { this.combinator = combinator; this.tag = tag; this.nameShort = nameShort; this.useBinaryEditor = useBinaryEditor; }
private static void AddStat(StatTag tag, CombinationStrategy combinator, string nameShort, bool useBinaryEditor = false) { if (!stats.ContainsKey(tag)) { stats[tag] = new Stat(tag, combinator, nameShort, useBinaryEditor); } }
private Stat(StatTag tag, CombinationStrategy combinator, string nameShort, string nameLong, bool useBinaryEditor) { Combinator = combinator; Tag = tag; NameShort = nameShort; NameLong = nameLong; UseBinaryEditor = useBinaryEditor; }
private static void AddStat(StatTag tag, CombinationStrategy combinator, string nameShort, bool useBinaryEditor) { stats[tag] = new Stat(tag, combinator, nameShort, useBinaryEditor); }