public MotiveValue(MotiveID name, Motive value) { mName = Common.LocalizeEAString("Ui/Caption/HUD/MotivesPanel:Motive" + name.ToString()); if (value != null) { mValue = (int)value.Value; mExists = true; } }
public void SetMotiveValue(MotiveID motive, float value) { mHudModel.SetMotiveValue(motive, value); }