C# Class EpPathFinding.NodePool

Datei anzeigen Open project: OpenNos/OpenNos Class Usage Examples

Protected Properties

Property Type Description
MNodes Node>.Dictionary

Public Methods

Method Description
GetNode ( EpPathFinding.GridPos iPos ) : Node
GetNode ( int iX, int iY ) : Node
NodePool ( ) : System.Collections.Generic
SetNode ( EpPathFinding.GridPos iPos, byte iWalkable = null ) : Node
SetNode ( int iX, int iY, byte iWalkable = null ) : Node

Protected Methods

Method Description
RemoveNode ( EpPathFinding.GridPos iPos ) : void
RemoveNode ( int iX, int iY ) : void

Method Details

GetNode() public method

public GetNode ( EpPathFinding.GridPos iPos ) : Node
iPos EpPathFinding.GridPos
return Node

GetNode() public method

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

NodePool() public method

public NodePool ( ) : System.Collections.Generic
return System.Collections.Generic

RemoveNode() protected method

protected RemoveNode ( EpPathFinding.GridPos iPos ) : void
iPos EpPathFinding.GridPos
return void

RemoveNode() protected method

protected RemoveNode ( int iX, int iY ) : void
iX int
iY int
return void

SetNode() public method

public SetNode ( EpPathFinding.GridPos iPos, byte iWalkable = null ) : Node
iPos EpPathFinding.GridPos
iWalkable byte
return Node

SetNode() public method

public SetNode ( int iX, int iY, byte iWalkable = null ) : Node
iX int
iY int
iWalkable byte
return Node

Property Details

MNodes protected_oe property

protected Dictionary MNodes
return Node>.Dictionary