Property | Type | Description |
---|
Method | Description | |
---|---|---|
AddNode ( Pathfinding node ) : void |
Add node from existing node
|
|
AddNode ( int cellid, int direction ) : void |
Add node from cellid and dir
|
|
CreateNodePath ( Pathfinding node ) : string |
Return string path with a node
|
|
CreateNodePath ( int dir, int cellid ) : string |
Return string path with a direction and cellid
|
|
GetCellChars ( int CellNum ) : string |
get char by cellid
|
|
GetCellNum ( string CellChars ) : int |
Get cellID by char
|
|
GetCellXCoord ( int cellid ) : int |
Get X location for cell
|
|
GetCellYCoord ( int cellid ) : int |
Get Y location for cell
|
|
GetDirChar ( int DirNum ) : string |
Get dirchar by id
|
|
GetDirNum ( string DirChar ) : int |
Get dir by chardir
|
|
GetDirection ( int Cell, int Cell2 ) : int |
Get direction of cell with other cell
|
|
GetNode ( int index ) : |
Get node in move by index
|
|
GetPathPattern ( int id ) : string |
Get pattern for sending to client move
|
|
InLine ( int cell1, int cell2 ) : bool |
Check if cells is in the same line
|
|
LastNode ( ) : |
Get the last node of this move
|
|
LoadMoves ( string path ) : void |
Load moves from a string
|
|
NextCell ( int cell, int dir ) : int |
Get next cell in dir
|
|
PathEngine ( Database map ) : System | ||
PathEngine ( List |
||
PathEngine ( string path, Database map ) : System | ||
PathEngine ( string path, int sCell, int sDir, Database map ) : System |
public AddNode ( int cellid, int direction ) : void | ||
cellid | int | |
direction | int | |
return | void |
public static CreateNodePath ( Pathfinding node ) : string | ||
node | Pathfinding | |
return | string |
public static CreateNodePath ( int dir, int cellid ) : string | ||
dir | int | |
cellid | int | |
return | string |
public static GetCellChars ( int CellNum ) : string | ||
CellNum | int | |
return | string |
public static GetCellNum ( string CellChars ) : int | ||
CellChars | string | |
return | int |
public static GetDirChar ( int DirNum ) : string | ||
DirNum | int | |
return | string |
public static GetDirNum ( string DirChar ) : int | ||
DirChar | string | |
return | int |
public GetDirection ( int Cell, int Cell2 ) : int | ||
Cell | int | |
Cell2 | int | |
return | int |
public GetNode ( int index ) : |
||
index | int | |
return |
public InLine ( int cell1, int cell2 ) : bool | ||
cell1 | int | |
cell2 | int | |
return | bool |
public LastNode ( ) : |
||
return |
public PathEngine ( List |
||
cells | List |
|
map | Database | |
return | System |
public PathEngine ( string path, Database map ) : System | ||
path | string | |
map | Database | |
return | System |
public PathEngine ( string path, int sCell, int sDir, Database map ) : System | ||
path | string | |
sCell | int | |
sDir | int | |
map | Database | |
return | System |