//-------------------------------------------------- // Motion Framework // Copyright©2019-2020 何冠峰 // Licensed under the MIT license //-------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; namespace MotionFramework.AI { public interface IAStarGraph { /// /// 获取邻居节点 /// IEnumerable Neighbors(AStarNode node); /// /// 计算移动代价 /// float CalculateCost(AStarNode from, AStarNode to); /// /// 清空所有节点的临时数据 /// void ClearTemper(); } }