C# Class MineSweeper.SetValuesMathod

Inheritance: CellAroundMethod
Mostra file Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
SetValuesMathod ( GameCell field ) : System

Protected Methods

Method 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 method

protected Condition ( Cell currentCell, Cell neighbourCell ) : bool
currentCell Cell
neighbourCell Cell
return bool

ConditionalAction() protected method

protected ConditionalAction ( Cell currentCell, Cell neighbourCell ) : void
currentCell Cell
neighbourCell Cell
return void

NeedCheckNeighbors() protected method

protected NeedCheckNeighbors ( Cell currentCell ) : bool
currentCell Cell
return bool

SetValuesMathod() public method

public SetValuesMathod ( GameCell field ) : System
field GameCell
return System

UnconditionalAction() protected method

protected UnconditionalAction ( Cell currentCell ) : void
currentCell Cell
return void