public class AstarNode{ public Tile tile; public AstarNode parent; public int gCost; // 시작부터 현재까지의 누적 비용 public int hCost; // 휴리스틱 (목표까지 예상 거리) public int fCost => gCost + hCost; public int astarCost => tile != null ? tile.AstarCost : int.MaxValue; // 현재 타일의 이동 비용 (Tile의 AstarCost를 복사) public AstarNode(Tile tile) { this.tile = tile; } ///..