C# Class MineSweeper.CellAroundMethod

Afficher le fichier Open project: Confirmit/Students

Protected Properties

Свойство Type Description
Height int

Méthodes publiques

Méthode Description
CellAroundMethod ( int height, int width ) : System
CellCalculation ( Cell currentCell ) : void

Méthodes protégées

Méthode Description
Condition ( Cell currentCell, Cell neighbourCell ) : bool
ConditionalAction ( Cell currentCell, Cell neighbourCell ) : void
NeedCheckNeighbors ( Cell currentCell ) : bool
UnconditionalAction ( Cell currentCell ) : void

Method Details

CellAroundMethod() public méthode

public CellAroundMethod ( int height, int width ) : System
height int
width int
Résultat System

CellCalculation() public méthode

public CellCalculation ( Cell currentCell ) : void
currentCell Cell
Résultat void

Condition() protected abstract méthode

protected abstract Condition ( Cell currentCell, Cell neighbourCell ) : bool
currentCell Cell
neighbourCell Cell
Résultat bool

ConditionalAction() protected abstract méthode

protected abstract ConditionalAction ( Cell currentCell, Cell neighbourCell ) : void
currentCell Cell
neighbourCell Cell
Résultat void

NeedCheckNeighbors() protected abstract méthode

protected abstract NeedCheckNeighbors ( Cell currentCell ) : bool
currentCell Cell
Résultat bool

UnconditionalAction() protected abstract méthode

protected abstract UnconditionalAction ( Cell currentCell ) : void
currentCell Cell
Résultat void

Property Details

Height protected_oe property

protected int Height
Résultat int