Méthode | 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 ) : |
Méthode | Description | |
---|---|---|
GetCharVector ( ) : List |
||
Init ( TileType tileType, int width, int height ) : void | ||
PrintFormatted ( List |
public CanJump ( |
||
p1 | ||
p2 | ||
Résultat | bool |
public ConcreteMap ( TileType tileType, int width, int height, IPassability passability ) : System | ||
tileType | TileType | |
width | int | |
height | int | |
passability | IPassability | |
Résultat | System |
public GetHeuristic ( int startNodeId, int targetNodeId ) : int | ||
startNodeId | int | |
targetNodeId | int | |
Résultat | int |
public GetNeighbours ( int nodeId ) : IEnumerable |
||
nodeId | int | |
Résultat | IEnumerable |
public GetNodeIdFromPos ( int x, int y ) : int | ||
x | int | |
y | int | |
Résultat | int |
public Slice ( int horizOrigin, int vertOrigin, int width, int height, IPassability passability ) : |
||
horizOrigin | int | |
vertOrigin | int | |
width | int | |
height | int | |
passability | IPassability | |
Résultat |