Метод | Описание | |
---|---|---|
AreasByColumn ( this minefield ) : IEnumerable |
List all of the areas in a minefield by column.
|
|
AreasByRow ( this minefield ) : IEnumerable |
List all of the areas in a minefield by row.
|
|
ClearAreas ( this minefield ) : IEnumerable |
Lists all of the areas in a minefield that do not contain mines, sorted in row order, from left to right, top to bottom.
|
|
MineAreas ( this minefield ) : IEnumerable |
Lists all of the areas in a minefield that contain mines, sorted in row order, from left to right, top to bottom.
|
|
NeighboringAreas ( this mineArea, IMinefield minefield ) : IEnumerable |
Lists all of the areas that are adjacent to a mine area in a minefield.
|
public static AreasByColumn ( this minefield ) : IEnumerable |
||
minefield | this | The minefield to enumerate. |
Результат | IEnumerable |
public static AreasByRow ( this minefield ) : IEnumerable |
||
minefield | this | The minefield to enumerate. |
Результат | IEnumerable |
public static ClearAreas ( this minefield ) : IEnumerable |
||
minefield | this | The minefield to enumerate. |
Результат | IEnumerable |
public static MineAreas ( this minefield ) : IEnumerable |
||
minefield | this | The minefield to enumerate. |
Результат | IEnumerable |
public static NeighboringAreas ( this mineArea, IMinefield minefield ) : IEnumerable |
||
mineArea | this | Returns the neighbors of this area. |
minefield | IMinefield | Uses this minefield to get references to neighboring areas. |
Результат | IEnumerable |