Свойство | Type | Description | |
---|---|---|---|
CheckNeighbors | Tile>.Dictionary | ||
GetTilesInRadiusGeneric | Tile>.Dictionary | ||
ReconstructPath | List |
||
getValueOrMax | int | ||
heuristic_cost_estimate | int |
Méthode | Description | |
---|---|---|
Expand ( List |
||
FindPath ( |
||
GetCrossTiles ( Vector2 center, int distance ) : Tile>.Dictionary |
||
GetDiagonalNeighbors ( Vector2 center ) : Tile>.Dictionary |
||
GetDiagonalTilesInRadius ( Vector2 center, int distance ) : Tile>.Dictionary |
||
GetKingNeighbors ( Vector2 center ) : Tile>.Dictionary |
||
GetKingTilesInRadius ( Vector2 center, int distance ) : Tile>.Dictionary |
||
GetLineTiles ( Vector2 center, Vector2 secondPoint, int distance, bool bothDirections ) : Tile>.Dictionary |
||
GetMovableNeighbors ( |
Find neighboring tiles that aren't occupied by enemies, but always include the dest tile for attacking if it's passed but also make sure not to land on a tile with an occupant if attacking
|
|
GetMovementTilesInRadius ( Vector2 center, int distance, int controllingPlayerId ) : Tile>.Dictionary |
||
GetNeighbors ( Vector2 center ) : Tile>.Dictionary |
||
GetTilesInRadius ( Vector2 center, int distance ) : Tile>.Dictionary |
||
KingDistance ( Vector2 a, Vector2 b ) : int | ||
Tile ( Vector2 position ) : |
||
TileDistance ( Vector2 a, Vector2 b ) : int | ||
isHeightPassable ( |
Méthode | Description | |
---|---|---|
CheckNeighbors ( Vector2 toCheck ) : Tile>.Dictionary |
||
GetTilesInRadiusGeneric ( Vector2 center, int distance, Tile>.Func |
||
ReconstructPath ( Tile>.Dictionary |
||
getValueOrMax ( int>.Dictionary |
||
heuristic_cost_estimate ( |
public Expand ( List |
||
selection | List |
|
distance | int | |
Résultat | Tile>.Dictionary |
public FindPath ( |
||
start | ||
end | ||
maxDist | int | |
controllingPlayerId | int | |
Résultat | List |
public GetCrossTiles ( Vector2 center, int distance ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
Résultat | Tile>.Dictionary |
public GetDiagonalNeighbors ( Vector2 center ) : Tile>.Dictionary |
||
center | Vector2 | |
Résultat | Tile>.Dictionary |
public GetDiagonalTilesInRadius ( Vector2 center, int distance ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
Résultat | Tile>.Dictionary |
public GetKingNeighbors ( Vector2 center ) : Tile>.Dictionary |
||
center | Vector2 | |
Résultat | Tile>.Dictionary |
public GetKingTilesInRadius ( Vector2 center, int distance ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
Résultat | Tile>.Dictionary |
public GetLineTiles ( Vector2 center, Vector2 secondPoint, int distance, bool bothDirections ) : Tile>.Dictionary |
||
center | Vector2 | |
secondPoint | Vector2 | |
distance | int | |
bothDirections | bool | |
Résultat | Tile>.Dictionary |
public GetMovableNeighbors ( |
||
center | ||
controllingPlayerId | int | |
dest | ||
Résultat | Tile>.Dictionary |
public GetMovementTilesInRadius ( Vector2 center, int distance, int controllingPlayerId ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
controllingPlayerId | int | |
Résultat | Tile>.Dictionary |
public GetNeighbors ( Vector2 center ) : Tile>.Dictionary |
||
center | Vector2 | |
Résultat | Tile>.Dictionary |
public GetTilesInRadius ( Vector2 center, int distance ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
Résultat | Tile>.Dictionary |
public KingDistance ( Vector2 a, Vector2 b ) : int | ||
a | Vector2 | |
b | Vector2 | |
Résultat | int |
public TileDistance ( Vector2 a, Vector2 b ) : int | ||
a | Vector2 | |
b | Vector2 | |
Résultat | int |
public isHeightPassable ( |
||
start | ||
end | ||
Résultat | bool |