Method | Description | |
---|---|---|
CanJump ( |
Tells whether we can move from p1 to p2 in line. Bear in mind this function does not consider intermediate points (it is assumed you can jump between intermediate points)
|
|
ConcreteMap ( TileType tileType, int width, int height, IPassability passability ) : System | ||
GetHeuristic ( int startNodeId, int targetNodeId ) : int | ||
GetNeighbours ( int nodeId ) : IEnumerable |
||
GetNodeIdFromPos ( int x, int y ) : int | ||
PrintFormatted ( ) : void | ||
PrintFormatted ( List |
||
Slice ( int horizOrigin, int vertOrigin, int width, int height, IPassability passability ) : |
Method | Description | |
---|---|---|
GetCharVector ( ) : List |
||
Init ( TileType tileType, int width, int height ) : void | ||
PrintFormatted ( List |
public CanJump ( |
||
p1 | ||
p2 | ||
return | bool |
public ConcreteMap ( TileType tileType, int width, int height, IPassability passability ) : System | ||
tileType | TileType | |
width | int | |
height | int | |
passability | IPassability | |
return | System |
public GetHeuristic ( int startNodeId, int targetNodeId ) : int | ||
startNodeId | int | |
targetNodeId | int | |
return | int |
public GetNeighbours ( int nodeId ) : IEnumerable |
||
nodeId | int | |
return | IEnumerable |
public GetNodeIdFromPos ( int x, int y ) : int | ||
x | int | |
y | int | |
return | int |
public Slice ( int horizOrigin, int vertOrigin, int width, int height, IPassability passability ) : |
||
horizOrigin | int | |
vertOrigin | int | |
width | int | |
height | int | |
passability | IPassability | |
return |