2015-03-13 15:36:12 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Assets.Scripts.Model.Config
|
|
|
|
|
{
|
|
|
|
|
[XmlRoot("terrgenConfig")]
|
|
|
|
|
public class TerrainGeneratorConfig
|
|
|
|
|
{
|
|
|
|
|
[XmlElement("noiseOctaves")]
|
|
|
|
|
public int NoiseOctaves { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("noiseNonLinearPower")]
|
|
|
|
|
public float NoiseNonLinearPower { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("elevationScale")]
|
|
|
|
|
public float ElevationScale { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("waterNonLinearPower")]
|
|
|
|
|
public float WaterNonLinearPower { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|