Свойство | Тип | Описание | |
---|---|---|---|
CheckNeighbors | Tile>.Dictionary | ||
GetTilesInRadiusGeneric | Tile>.Dictionary | ||
ReconstructPath | List |
||
getValueOrMax | int | ||
heuristic_cost_estimate | int |
Метод | Описание | |
---|---|---|
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 ( |
Метод | Описание | |
---|---|---|
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 | |
Результат | Tile>.Dictionary |
public FindPath ( |
||
start | ||
end | ||
maxDist | int | |
controllingPlayerId | int | |
Результат | List |
public GetCrossTiles ( Vector2 center, int distance ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
Результат | Tile>.Dictionary |
public GetDiagonalNeighbors ( Vector2 center ) : Tile>.Dictionary |
||
center | Vector2 | |
Результат | Tile>.Dictionary |
public GetDiagonalTilesInRadius ( Vector2 center, int distance ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
Результат | Tile>.Dictionary |
public GetKingNeighbors ( Vector2 center ) : Tile>.Dictionary |
||
center | Vector2 | |
Результат | Tile>.Dictionary |
public GetKingTilesInRadius ( Vector2 center, int distance ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
Результат | Tile>.Dictionary |
public GetLineTiles ( Vector2 center, Vector2 secondPoint, int distance, bool bothDirections ) : Tile>.Dictionary |
||
center | Vector2 | |
secondPoint | Vector2 | |
distance | int | |
bothDirections | bool | |
Результат | Tile>.Dictionary |
public GetMovableNeighbors ( |
||
center | ||
controllingPlayerId | int | |
dest | ||
Результат | Tile>.Dictionary |
public GetMovementTilesInRadius ( Vector2 center, int distance, int controllingPlayerId ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
controllingPlayerId | int | |
Результат | Tile>.Dictionary |
public GetNeighbors ( Vector2 center ) : Tile>.Dictionary |
||
center | Vector2 | |
Результат | Tile>.Dictionary |
public GetTilesInRadius ( Vector2 center, int distance ) : Tile>.Dictionary |
||
center | Vector2 | |
distance | int | |
Результат | Tile>.Dictionary |
public KingDistance ( Vector2 a, Vector2 b ) : int | ||
a | Vector2 | |
b | Vector2 | |
Результат | int |
public TileDistance ( Vector2 a, Vector2 b ) : int | ||
a | Vector2 | |
b | Vector2 | |
Результат | int |
public isHeightPassable ( |
||
start | ||
end | ||
Результат | bool |