public void SetValue(Attrib attrib, int value) { Attribs states = AllStates[attrib.Category]; states[attrib] = value; }
public static int AttribsDifference(Attribs a, Attribs b, Attrib attributeName) { return(a.Values[attributeName] - b.Values[attributeName]); }
public int GetValue(Attrib attrib) { Attribs states = AllStates[attrib.Category]; return(states[attrib]); }