示例#1
0
        public void SetValue(Attrib attrib, int value)
        {
            Attribs states = AllStates[attrib.Category];

            states[attrib] = value;
        }
示例#2
0
 public static int AttribsDifference(Attribs a, Attribs b, Attrib attributeName)
 {
     return(a.Values[attributeName] - b.Values[attributeName]);
 }
示例#3
0
        public int GetValue(Attrib attrib)
        {
            Attribs states = AllStates[attrib.Category];

            return(states[attrib]);
        }