Newer
Older
DungeonShooting / DungeonShooting_Godot / src / framework / map / NavigationPointInterleavingException.cs
@小李xl 小李xl on 3 Mar 2023 375 bytes 修复之前计算导航会报错的bug

using System;
using Godot;

/// <summary>
/// 导航点交错异常
/// </summary>
public class NavigationPointInterleavingException : Exception
{
    /// <summary>
    /// 交错点
    /// </summary>
    public Vector2 Point { get; }
    
    public NavigationPointInterleavingException(Vector2 point, string message): base(message)
    {
        Point = point;
    }
}