Ejemplo n.º 1
0
        /// <summary>
        /// Creates a new object using data from a stream using a
        /// <see cref="BinaryReader"/>.
        /// </summary>
        public static NoiseRand ReadObject(BinaryReader reader)
        {
            NoiseRand result = new NoiseRand();

            result.Read(reader);
            return(result);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new noise based random number generator.
 /// </summary>
 private NoiseRand(NoiseRand source) : this()
 {
     Seed  = source.Seed;
     Index = source.Index;
 }