C# 클래스 AStartTest.AStar

파일 보기 프로젝트 열기: holtkampw/UH-Sample-XNA-Project 1 사용 예제들

공개 메소드들

메소드 설명
AStar ( Tile startTile, Tile goalTile ) : System
FindPath ( ) : List

비공개 메소드들

메소드 설명
AddNeighborNodesToOpenList ( Node currentNode, List neighborTiles ) : void
GetDistanceBetweenTiles ( Tile &tile1, Tile &tile2 ) : float
GetDistanceToGoal ( Tile &tile ) : float
GetLowestCostNodeFromOpenNodes ( ) : Node
GetWalkableNeighborsNotOnClosedList ( Node currentNode ) : List
TransformToNode ( Tile tile, Node parentNode ) : Node

메소드 상세

AStar() 공개 메소드

public AStar ( Tile startTile, Tile goalTile ) : System
startTile Tile
goalTile Tile
리턴 System

FindPath() 공개 메소드

public FindPath ( ) : List
리턴 List