using System; using System.Collections.Generic; using System.Text; using CubicNoise.Contracts; namespace CubicNoise { /// /// This class stores all parameters needed to create a noise engine instance. /// public sealed class EngineParameters { /// /// The engine's seed value. To use a string value as seed, use the GetDeterministicHashCode() method /// which gets provided by this library. A different seed value results in a complete different result. /// When you generate e.g. a landscape, two different seeds will produce different landscapes. /// public int Seed { get; set; } = new Random().Next(); /// /// The desired kind of noise generator. /// public NoiseTypes Type { get; set; } = NoiseTypes.UNKNOWN; /// /// A dictionary of additional parameters needed by the chosen noise generator. /// public IReadOnlyDictionary IntParameters { get; set; } } }