Newer
Older
DungeonShooting / DungeonShooting_Godot / src / framework / map / NavigationPointException.cs
  1.  
  2. using System;
  3. using Godot;
  4.  
  5. /// <summary>
  6. /// 导航点交错异常
  7. /// </summary>
  8. public class NavigationPointException : Exception
  9. {
  10. /// <summary>
  11. /// 交错点
  12. /// </summary>
  13. public Vector2I Point { get; }
  14. public NavigationPointException(Vector2I point, string message): base(message)
  15. {
  16. Point = point;
  17. }
  18. }