using System.Runtime.Serialization;
using NewHorizons.Utility;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace NewHorizons.External.Modules.VariableSize
{
[JsonConverter(typeof(StringEnumConverter))]
public enum FunnelType
{
[EnumMember(Value = @"sand")] Sand = 0,
[EnumMember(Value = @"water")] Water = 1,
[EnumMember(Value = @"lava")] Lava = 2,
[EnumMember(Value = @"star")] Star = 3
}
[JsonObject]
public class FunnelModule : VariableSizeModule
{
///
/// The planet the funnel will flow to
///
public string target;
///
/// Tint of the funnel
///
public MColor tint;
///
/// Type of fluid the funnel transfers
///
public FunnelType type = FunnelType.Sand;
}
}