using Newtonsoft.Json;
using System.ComponentModel;
namespace NewHorizons.External.Volumes
{
[JsonObject]
public class SpeedTrapVolumeInfo : VolumeInfo
{
///
/// The speed the volume will slow you down to when you enter it.
///
[DefaultValue(10f)]
public float speedLimit = 10f;
///
/// How fast it will slow down the player to the speed limit.
///
[DefaultValue(3f)]
public float acceleration = 3f;
}
}