C# 클래스 AStarPathfinder, Augmented_Tactics

파일 보기 프로젝트 열기: Kavignon/Augmented_Tactics 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FinalPath List

공개 메소드들

메소드 설명
AStarPathfinder ( ) : System.Collections.Generic
CellsFromPath ( ) : List
CellsFromPath ( int size ) : List
FindPath ( Cell, startCell, Cell, goalCell, List map, bool targetCellMustBeFree ) : void
MovementCost ( Node, a, Node, b ) : float
PointsFromPath ( ) : List

비공개 메소드들

메소드 설명
ExtractBestNodeFromOpenList ( ) : Node,
FindInCloseList ( Node, n ) : Node,
FindInOpenList ( Node, n ) : Node,
FindValidFourNeighbours ( Node, n ) : void
FindValidFourNeighboursIgnoreTargetCell ( Node, n ) : void
Heuristic ( Node, n ) : float
NodeIsGoal ( Node, node ) : bool
PrepareNewNodeFrom ( Node, n, int x, int y ) : Node,

메소드 상세

AStarPathfinder() 공개 메소드

public AStarPathfinder ( ) : System.Collections.Generic
리턴 System.Collections.Generic

CellsFromPath() 공개 메소드

public CellsFromPath ( ) : List
리턴 List

CellsFromPath() 공개 메소드

public CellsFromPath ( int size ) : List
size int
리턴 List

FindPath() 공개 메소드

public FindPath ( Cell, startCell, Cell, goalCell, List map, bool targetCellMustBeFree ) : void
startCell Cell,
goalCell Cell,
map List
targetCellMustBeFree bool
리턴 void

MovementCost() 공개 메소드

public MovementCost ( Node, a, Node, b ) : float
a Node,
b Node,
리턴 float

PointsFromPath() 공개 메소드

public PointsFromPath ( ) : List
리턴 List

프로퍼티 상세

FinalPath 공개적으로 프로퍼티

public List FinalPath
리턴 List