C# Class MineSweeper.Game

Show file Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
EndGame ( ) : void
Game ( GameSettings gameSettings ) : System
OpenCells ( int rowIndex, int columnIndex ) : List
PlayerWins ( ) : bool
RemarkCell ( int rowIndex, int columnIndex ) : Cell

Private Methods

Method Description
SetGameFieldElementsValues ( ) : void
SetMines ( ) : void

Method Details

EndGame() public method

public EndGame ( ) : void
return void

Game() public method

public Game ( GameSettings gameSettings ) : System
gameSettings GameSettings
return System

OpenCells() public method

public OpenCells ( int rowIndex, int columnIndex ) : List
rowIndex int
columnIndex int
return List

PlayerWins() public method

public PlayerWins ( ) : bool
return bool

RemarkCell() public method

public RemarkCell ( int rowIndex, int columnIndex ) : Cell
rowIndex int
columnIndex int
return Cell