C# 클래스 EpPathFinding.StaticGrid

상속: BaseGrid
파일 보기 프로젝트 열기: OpenNos/OpenNos 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : BaseGrid
GetNodeAt ( EpPathFinding.GridPos iPos ) : Node
GetNodeAt ( int iX, int iY ) : Node
IsWalkableAt ( EpPathFinding.GridPos iPos ) : bool
IsWalkableAt ( int iX, int iY ) : bool
Reset ( ) : void
Reset ( bool iMatrix ) : void
SetWalkableAt ( EpPathFinding.GridPos iPos, byte iWalkable ) : bool
SetWalkableAt ( int iX, int iY, byte iWalkable ) : bool
StaticGrid ( StaticGrid b ) : System.Collections.Generic
StaticGrid ( int iWidth, int iHeight, bool iMatrix = null ) : System.Collections.Generic

보호된 메소드들

메소드 설명
IsInside ( EpPathFinding.GridPos iPos ) : bool
IsInside ( int iX, int iY ) : bool

비공개 메소드들

메소드 설명
buildNodes ( int iWidth, int iHeight, IList iMatrix ) : EpPathFinding.Node[][]

메소드 상세

Clone() 공개 메소드

public Clone ( ) : BaseGrid
리턴 BaseGrid

GetNodeAt() 공개 메소드

public GetNodeAt ( EpPathFinding.GridPos iPos ) : Node
iPos EpPathFinding.GridPos
리턴 Node

GetNodeAt() 공개 메소드

public GetNodeAt ( int iX, int iY ) : Node
iX int
iY int
리턴 Node

IsInside() 보호된 메소드

protected IsInside ( EpPathFinding.GridPos iPos ) : bool
iPos EpPathFinding.GridPos
리턴 bool

IsInside() 보호된 메소드

protected IsInside ( int iX, int iY ) : bool
iX int
iY int
리턴 bool

IsWalkableAt() 공개 메소드

public IsWalkableAt ( EpPathFinding.GridPos iPos ) : bool
iPos EpPathFinding.GridPos
리턴 bool

IsWalkableAt() 공개 메소드

public IsWalkableAt ( int iX, int iY ) : bool
iX int
iY int
리턴 bool

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( bool iMatrix ) : void
iMatrix bool
리턴 void

SetWalkableAt() 공개 메소드

public SetWalkableAt ( EpPathFinding.GridPos iPos, byte iWalkable ) : bool
iPos EpPathFinding.GridPos
iWalkable byte
리턴 bool

SetWalkableAt() 공개 메소드

public SetWalkableAt ( int iX, int iY, byte iWalkable ) : bool
iX int
iY int
iWalkable byte
리턴 bool

StaticGrid() 공개 메소드

public StaticGrid ( StaticGrid b ) : System.Collections.Generic
b StaticGrid
리턴 System.Collections.Generic

StaticGrid() 공개 메소드

public StaticGrid ( int iWidth, int iHeight, bool iMatrix = null ) : System.Collections.Generic
iWidth int
iHeight int
iMatrix bool
리턴 System.Collections.Generic