public AtomProperties Clone() { AtomProperties ap = new AtomProperties(this.owner); ap.nativeProperties = this.nativeProperties; ap.properties = new Dictionary <string, Atom>(properties); ap.ClearDeltas(); return(ap); }
/// <summary> /// Instantiate an atom. /// </summary> /// <param name="makeInitial">Create InitialProperties?</param> public Atom(string path, bool makeInitial = true) { Properties = new AtomProperties(this); this.Type = new BYONDType(path); if (makeInitial) { Properties.ClearDeltas(); } }