public override void makeClonned(int maxKnot, string cloneValue) { string max = maxKnot.ToString(); string[] clonnedKnots = { max, knots[1], knots[2], knots[3] }; string[] cloneKnots = { knots[0], max, knots[2], knots[3] }; KU clonned = new KU(name + clonnedSuffix, clonnedKnots, value); KU clone = new KU(name, cloneKnots, cloneValue); cloneElement = clone; clonnedElements = new List <Element>() { clonned, clone }; }
public override void makeClonned(int maxKnot, string cloneValue) { string max = maxKnot.ToString(); string[] clonnedKnots = { max, knots[1], knots[2], knots[3] }; string[] cloneKnots = { knots[0], max, knots[2], knots[3] }; KU clonned = new KU(name + clonnedSuffix, clonnedKnots, value); KU clone = new KU(name, cloneKnots, cloneValue); cloneElement = clone; clonnedElements = new List<Element>() { clonned, clone }; }
public KU(KU element) : base(element) { }