C# 클래스 Pathfinding.GridNode

상속: GridNodeBase
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
connectionCosts uint[]
connections Pathfinding.GraphNode[]

보호된 프로퍼티들

프로퍼티 타입 설명
gridFlags ushort
nodeInGridIndex int

공개 메소드들

메소드 설명
AddConnection ( GraphNode node, uint cost ) : void
FloodFill ( Stack stack, uint region ) : void
GetConnections ( GraphNodeDelegate del ) : void
GetPortal ( GraphNode other, List left, List right, bool backwards ) : bool
GridNode ( AstarPath astar ) : System
RemoveConnection ( GraphNode node ) : void

비공개 메소드들

메소드 설명
GetIndex ( ) : int

메소드 상세

AddConnection() 공개 메소드

public AddConnection ( GraphNode node, uint cost ) : void
node GraphNode
cost uint
리턴 void

FloodFill() 공개 메소드

public FloodFill ( Stack stack, uint region ) : void
stack Stack
region uint
리턴 void

GetConnections() 공개 메소드

public GetConnections ( GraphNodeDelegate del ) : void
del GraphNodeDelegate
리턴 void

GetPortal() 공개 메소드

public GetPortal ( GraphNode other, List left, List right, bool backwards ) : bool
other GraphNode
left List
right List
backwards bool
리턴 bool

GridNode() 공개 메소드

public GridNode ( AstarPath astar ) : System
astar AstarPath
리턴 System

RemoveConnection() 공개 메소드

public RemoveConnection ( GraphNode node ) : void
node GraphNode
리턴 void

프로퍼티 상세

connectionCosts 공개적으로 프로퍼티

public uint[] connectionCosts
리턴 uint[]

connections 공개적으로 프로퍼티

public GraphNode[],Pathfinding connections
리턴 Pathfinding.GraphNode[]

gridFlags 보호되어 있는 프로퍼티

protected ushort gridFlags
리턴 ushort

nodeInGridIndex 보호되어 있는 프로퍼티

protected int nodeInGridIndex
리턴 int