Property | Type | Description | |
---|---|---|---|
CurrentMap | ].int[ | ||
XLimit | int | ||
YLimit | int |
Method | Description | |
---|---|---|
CalcSlope ( int y2, int y1, int x2, int x1 ) : int | ||
GetMap ( int x, int y ) : int |
Gets movement cost from the 2-dimensional map -1 blocks off all movement there
|
|
Path ( int startx, int starty, int endx, int endy, int endz, int csx, int csy ) : List |
Method | Description | |
---|---|---|
ReadMap ( string map, int mapx, int mapy ) : ].int[ |
public static CalcSlope ( int y2, int y1, int x2, int x1 ) : int | ||
y2 | int | |
y1 | int | |
x2 | int | |
x1 | int | |
return | int |
public static GetMap ( int x, int y ) : int | ||
x | int | X-coordinate |
y | int | Y-coordinate |
return | int |
public static Path ( int startx, int starty, int endx, int endy, int endz, int csx, int csy ) : List |
||
startx | int | |
starty | int | |
endx | int | |
endy | int | |
endz | int | |
csx | int | |
csy | int | |
return | List |