Beispiel #1
0
        public AtomProperties Clone()
        {
            AtomProperties ap = new AtomProperties(this.owner);

            ap.nativeProperties = this.nativeProperties;
            ap.properties       = new Dictionary <string, Atom>(properties);
            ap.ClearDeltas();
            return(ap);
        }
Beispiel #2
0
        /// <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();
            }
        }