#region 构造函数 public AStar(Map map) { this.map = map; } #endregion #region , #endregion作用是折叠代码块,使代码看上去更加整洁,层次感更强