Example #1
0
 private Stat(StatTag tag, CombinationStrategy combinator, String nameShort, bool useBinaryEditor)
 {
     this.combinator      = combinator;
     this.tag             = tag;
     this.nameShort       = nameShort;
     this.useBinaryEditor = useBinaryEditor;
 }
Example #2
0
 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);
     }
 }
Example #3
0
 private Stat(StatTag tag, CombinationStrategy combinator, string nameShort, string nameLong, bool useBinaryEditor)
 {
     Combinator      = combinator;
     Tag             = tag;
     NameShort       = nameShort;
     NameLong        = nameLong;
     UseBinaryEditor = useBinaryEditor;
 }
Example #4
0
 private static void AddStat(StatTag tag, CombinationStrategy combinator, string nameShort, bool useBinaryEditor)
 {
     stats[tag] = new Stat(tag, combinator, nameShort, useBinaryEditor);
 }