Example #1
0
        /// <summary>
        /// Creates a deep copy of this instance.
        /// </summary>
        /// <returns></returns>
        public Mold Copy()
        {
            Mold copy = new Mold();

            copy.Tiles = new byte[Tiles.Length];
            Tiles.CopyTo(copy.Tiles, 0);
            copy.Offset = Offset;
            return(copy);
        }