예제 #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]);
        }