public void SetSetting(string name, int?newValue = null, int?newMin = null, int?newMax = null, float?newMultiplier = null) { Settings.SetWorldValue(name, newValue, newMin, newMax, newMultiplier); MyWorldGrid.SetValue(name, Settings[name].GetValue()); }
public void ChangeSetting(string name, int change) { Settings.ChangeValueBy(name, change); MyWorldGrid.SetValue(name, Settings[name].GetValue()); }