C# 클래스 Universe.BotManager.AStar.AStar

Class for performing A* pathfinding
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe 1 사용 예제들

공개 메소드들

메소드 설명
AStar ( ) : System
FindPath ( AStarNode aStartNode, AStarNode aGoalNode ) : void

Finds the shortest path from the start node to the goal node

비공개 메소드들

메소드 설명
PrintNodeList ( object aNodeList ) : void

Prints all the nodes in a list

메소드 상세

AStar() 공개 메소드

public AStar ( ) : System
리턴 System

FindPath() 공개 메소드

Finds the shortest path from the start node to the goal node
public FindPath ( AStarNode aStartNode, AStarNode aGoalNode ) : void
aStartNode AStarNode Start node
aGoalNode AStarNode Goal node
리턴 void