public UnitModel(UnitModel copy) { if (copy != null) { Name = copy.Name; Miniature = new Miniature(copy.Miniature); Faction = copy.Faction; Count = copy.Count; CountLimit = copy.CountLimit; PowerLevel = copy.PowerLevel; Points = copy.Points; RequiredMinimumCount = copy.RequiredMinimumCount; ReplacesEveryNcount = copy.ReplacesEveryNcount; IsReplacement = copy.IsReplacement; ModelToReplace = copy.ModelToReplace; IsAllowedForEachNumberUnits = copy.IsAllowedForEachNumberUnits; DoesRequireMinimumCount = copy.DoesRequireMinimumCount; DoesNotCount = copy.DoesNotCount; IsUpgradeOnly = copy.IsUpgradeOnly; ExtraPLForHowManyModels = copy.ExtraPLForHowManyModels; ExtraPoints = copy.ExtraPoints; ExtraPointsForHowManyModels = copy.ExtraPointsForHowManyModels; ExtraPowerLevel = copy.ExtraPowerLevel; IsWargear = copy.IsWargear; Wargear = copy.Wargear; IsWargearReplacment = copy.IsWargearReplacment; WargearToReplace = copy.WargearToReplace; id = Guid.NewGuid().ToString(); } }
public Miniature(Miniature copy) { if (copy != null) { Name = copy.Name; Faction = copy.Faction; StandardEquip = copy.StandardEquip; Wounds = copy.Wounds; LeaderShip = copy.LeaderShip; Movement = copy.Movement; Weaponskill = copy.Weaponskill; BallisticSkill = copy.BallisticSkill; Strength = copy.Strength; Toughness = copy.Toughness; Attacks = copy.Attacks; Save = copy.Save; Keywords = copy.Keywords; Abilities = copy.Abilities; } }