19 lines
440 B
C#
19 lines
440 B
C#
using System.Collections.Generic;
|
|
using System.Numerics;
|
|
using System.Text.Json.Serialization;
|
|
using Questionable.Model.Common.Converter;
|
|
|
|
namespace Questionable.Model.Questing;
|
|
|
|
public sealed class LandingZone
|
|
{
|
|
[JsonConverter(typeof(VectorListConverter))]
|
|
public List<Vector3> Vertices { get; set; } = new List<Vector3>();
|
|
|
|
public float? YTolerance { get; set; }
|
|
|
|
public float CalculateYTolerance()
|
|
{
|
|
return YTolerance ?? 2f;
|
|
}
|
|
}
|