C# Class MineSweeper.SetValuesMathod

Inheritance: CellAroundMethod
Afficher le fichier Open project: Confirmit/Students Class Usage Examples

Méthodes publiques

Méthode Description
SetValuesMathod ( GameCell field ) : System

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

Condition() protected méthode

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

ConditionalAction() protected méthode

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

NeedCheckNeighbors() protected méthode

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

SetValuesMathod() public méthode

public SetValuesMathod ( GameCell field ) : System
field GameCell
Résultat System

UnconditionalAction() protected méthode

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