using Newtonsoft.Json;

namespace Interop
{
    [JsonConverter(typeof(ServerStringEnumConverter))]
    public enum ShellType
    {
        Unknown,
        Blue,
        Red,
		Green
    }

    public class ShellData
    {
        [JsonProperty(PropertyName = "type")]
        public ShellType Type;

        [JsonProperty(PropertyName = "x")]
        public double X;

        [JsonProperty(PropertyName = "y")]
        public double Y;

        [JsonProperty(PropertyName = "dx")] 
        public double Dx;

        [JsonProperty(PropertyName = "dy")] 
        public double Dy;
    }
}