public Object deepClone() { var clone = new GeneticData(tag); foreach (KeyValuePair<String, IDeepClonable> entry in data) { clone.set((String) entry.Key.Clone(), (IDeepClonable) entry.Value.deepClone()); } return clone; }
/// <summary> /// Affects data to the genetic data of the extension. /// </summary> /// <param name="data"></param> public Extension(GeneticData data) { geneticData = data; }
/// <summary> /// Instanciate a named extension. /// </summary> /// <param name="tag">name of the extension or 'tag'</param> public Extension(string tag) { geneticData = new GeneticData(tag); }
public BodyPart(GeneticData data) : base(data) { }
public Member(GeneticData data) : base(data) { }