using Content.Shared.Maps; using Robust.Shared.Noise; using Robust.Shared.Serialization; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Shared.Parallax.Biomes.Layers; [Serializable, NetSerializable] public sealed class BiomeTileLayer : IBiomeLayer { [DataField("noise")] public FastNoiseLite Noise { get; } = new(0); /// [DataField("threshold")] public float Threshold { get; } = 0.5f; /// [DataField("invert")] public bool Invert { get; } = false; /// /// Which tile variants to use for this layer. Uses all of the tile's variants if none specified /// [DataField("variants")] public List? Variants = null; [DataField("tile", required: true, customTypeSerializer: typeof(PrototypeIdSerializer))] public string Tile = string.Empty; }