public double[] GetContextValue(string valueName) { Atribute valueAtribute = null; foreach (Atribute atribute in atributes) { if (atribute.AtributeName.Equals(valueName)) { valueAtribute = atribute; break; } } if (valueAtribute == null) { return new double[] { 1, 0, 0 } } ; return(valueAtribute.GetValues()); } }
public void AddSpecialModifier(Atribute atribute, double modifier) { specialModifiers.Add(atribute, modifier); }