Declaration
public static bool CanMove<TCell, TDirection>(
this Structure<TCell> structure,
TCell cell,
TDirection direction,
int amount = 1
)
Summary
Determines whether it is possible within
structure to move the specified
amount of steps in the specified
direction.
Generic type parameters
TCell | This type parameter is not documented. |
TDirection | This type parameter is not documented. |
Parameters
this Structure<TCell> | structure |
The structure to examine. |
TCell | cell |
Starting cell. |
TDirection | direction |
Direction to attempt to move in. |
int | amount |
Number of steps to move. |