//Copy constructor /// <summary> /// Todo - finish this /// </summary> /// <param name="copy"></param> public Configuration(Configuration copy) { LastBotMode = copy.LastBotMode; HomeStation = copy.HomeStation; DefenseConfig = new DefensiveConfiguration(copy.DefenseConfig); FleetConfig = new FleetConfiguration(copy.FleetConfig); HaulingConfig = new HaulingConfiguration(copy.HaulingConfig); MainConfig = new MainConfiguration(copy.MainConfig); MiningConfig = new MiningConfiguration(copy.MiningConfig); MissionConfig = new MissionConfiguration(copy.MissionConfig); MovementConfig = new MovementConfiguration(copy.MovementConfig); SocialConfig = new SocialConfiguration(copy.SocialConfig); FreightConfig = new FreightingConfiguration(copy.FreightConfig); AlertConfig = new AlertConfiguration(copy.AlertConfig); }
public MiningConfiguration(MiningConfiguration copy) { BookmarkLastPosition = copy.BookmarkLastPosition; DelayActivation = copy.DelayActivation; DistributeLasers = copy.DistributeLasers; Ice_DoMine = new Dictionary <string, bool>(copy.Ice_DoMine); Ice_Priority = new List <string>(copy.Ice_Priority); IceMining = copy.IceMining; JetcanNameFormat = copy.JetcanNameFormat; MinDistanceToPlayers = copy.MinDistanceToPlayers; NumCrystalsToCarry = copy.NumCrystalsToCarry; Ore_DoMine = new Dictionary <string, bool>(copy.Ore_DoMine); Ore_Priority = new List <string>(copy.Ore_Priority); ShortCycle = copy.ShortCycle; StripMine = copy.StripMine; StripRangeMultiplier = copy.StripRangeMultiplier; UseMiningDrones = copy.UseMiningDrones; }