C# Класс MineSweeper.CellAroundMethod

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
Height int

Открытые методы

Метод Описание
CellAroundMethod ( int height, int width ) : System
CellCalculation ( Cell currentCell ) : void

Защищенные методы

Метод Описание
Condition ( Cell currentCell, Cell neighbourCell ) : bool
ConditionalAction ( Cell currentCell, Cell neighbourCell ) : void
NeedCheckNeighbors ( Cell currentCell ) : bool
UnconditionalAction ( Cell currentCell ) : void

Описание методов

CellAroundMethod() публичный Метод

public CellAroundMethod ( int height, int width ) : System
height int
width int
Результат System

CellCalculation() публичный Метод

public CellCalculation ( Cell currentCell ) : void
currentCell Cell
Результат void

Condition() защищенный абстрактный Метод

protected abstract Condition ( Cell currentCell, Cell neighbourCell ) : bool
currentCell Cell
neighbourCell Cell
Результат bool

ConditionalAction() защищенный абстрактный Метод

protected abstract ConditionalAction ( Cell currentCell, Cell neighbourCell ) : void
currentCell Cell
neighbourCell Cell
Результат void

NeedCheckNeighbors() защищенный абстрактный Метод

protected abstract NeedCheckNeighbors ( Cell currentCell ) : bool
currentCell Cell
Результат bool

UnconditionalAction() защищенный абстрактный Метод

protected abstract UnconditionalAction ( Cell currentCell ) : void
currentCell Cell
Результат void

Описание свойств

Height защищенное свойство

protected int Height
Результат int