C# Class EpPathFinding.cs.StaticGrid

Inheritance: BaseGrid
Exibir arquivo Open project: juhgiyo/EpPathFinding.cs Class Usage Examples

Public Methods

Method Description
Clone ( ) : BaseGrid
GetNodeAt ( EpPathFinding.cs.GridPos iPos ) : Node
GetNodeAt ( int iX, int iY ) : Node
IsWalkableAt ( EpPathFinding.cs.GridPos iPos ) : bool
IsWalkableAt ( int iX, int iY ) : bool
Reset ( ) : void
Reset ( bool iMatrix ) : void
SetWalkableAt ( EpPathFinding.cs.GridPos iPos, bool iWalkable ) : bool
SetWalkableAt ( int iX, int iY, bool iWalkable ) : bool
StaticGrid ( StaticGrid b ) : System
StaticGrid ( int iWidth, int iHeight, bool iMatrix = null ) : System

Protected Methods

Method Description
isInside ( EpPathFinding.cs.GridPos iPos ) : bool
isInside ( int iX, int iY ) : bool

Private Methods

Method Description
buildNodes ( int iWidth, int iHeight, bool iMatrix ) : EpPathFinding.cs.Node[][]

Method Details

Clone() public method

public Clone ( ) : BaseGrid
return BaseGrid

GetNodeAt() public method

public GetNodeAt ( EpPathFinding.cs.GridPos iPos ) : Node
iPos EpPathFinding.cs.GridPos
return Node

GetNodeAt() public method

public GetNodeAt ( int iX, int iY ) : Node
iX int
iY int
return Node

IsWalkableAt() public method

public IsWalkableAt ( EpPathFinding.cs.GridPos iPos ) : bool
iPos EpPathFinding.cs.GridPos
return bool

IsWalkableAt() public method

public IsWalkableAt ( int iX, int iY ) : bool
iX int
iY int
return bool

Reset() public method

public Reset ( ) : void
return void

Reset() public method

public Reset ( bool iMatrix ) : void
iMatrix bool
return void

SetWalkableAt() public method

public SetWalkableAt ( EpPathFinding.cs.GridPos iPos, bool iWalkable ) : bool
iPos EpPathFinding.cs.GridPos
iWalkable bool
return bool

SetWalkableAt() public method

public SetWalkableAt ( int iX, int iY, bool iWalkable ) : bool
iX int
iY int
iWalkable bool
return bool

StaticGrid() public method

public StaticGrid ( StaticGrid b ) : System
b StaticGrid
return System

StaticGrid() public method

public StaticGrid ( int iWidth, int iHeight, bool iMatrix = null ) : System
iWidth int
iHeight int
iMatrix bool
return System

isInside() protected method

protected isInside ( EpPathFinding.cs.GridPos iPos ) : bool
iPos EpPathFinding.cs.GridPos
return bool

isInside() protected method

protected isInside ( int iX, int iY ) : bool
iX int
iY int
return bool