C# 클래스 AStarNode2D, tutorials

상속: AStarNode
파일 보기 프로젝트 열기: poeticmatter/tutorials 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
allowDiagonal bool

공개 메소드들

메소드 설명
AStarNode2D ( AStarCost, aStarCost, float cost, int x, int y, AStarNode, goalNode = null, AStarNode, parent = null ) : System.Collections
ToString ( ) : string
calculateGoalEstimate ( ) : float
getSuccessors ( ) : List
isSameState ( AStarNode, node ) : bool
printNodeInfo ( ) : void

비공개 메소드들

메소드 설명
addSuccessor ( List successors, int x, int y ) : void

메소드 상세

AStarNode2D() 공개 메소드

public AStarNode2D ( AStarCost, aStarCost, float cost, int x, int y, AStarNode, goalNode = null, AStarNode, parent = null ) : System.Collections
aStarCost AStarCost,
cost float
x int
y int
goalNode AStarNode,
parent AStarNode,
리턴 System.Collections

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

calculateGoalEstimate() 공개 메소드

public calculateGoalEstimate ( ) : float
리턴 float

getSuccessors() 공개 메소드

public getSuccessors ( ) : List
리턴 List

isSameState() 공개 메소드

public isSameState ( AStarNode, node ) : bool
node AStarNode,
리턴 bool

printNodeInfo() 공개 메소드

public printNodeInfo ( ) : void
리턴 void

프로퍼티 상세

allowDiagonal 공개적으로 프로퍼티

public bool allowDiagonal
리턴 bool