void Activate(EnginesProfile p) { Active.Active = false; Active.Changed = false; Active = p; Active.Activated = true; Active.Changed = true; Active.Active = true; }
public EnginesProfile(EnginesProfile p) { Name = p.Name + " (Copy)"; OnPlanet = p.OnPlanet; foreach (var c in p.Groups.DB) { Groups[c.Key] = new EngineConfig(c.Value); } foreach (var c in p.Single.DB) { Single[c.Key] = new EngineConfig(c.Value); } NumManual = p.NumManual; Level = p.Level; }
void SetDefault(EnginesProfile p) { Default.Default = false; Default = p; Default.Default = true; }