C# Class MineSweeper.Game

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

Méthodes publiques

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

Private Methods

Méthode Description
SetGameFieldElementsValues ( ) : void
SetMines ( ) : void

Method Details

EndGame() public méthode

public EndGame ( ) : void
Résultat void

Game() public méthode

public Game ( GameSettings gameSettings ) : System
gameSettings GameSettings
Résultat System

OpenCells() public méthode

public OpenCells ( int rowIndex, int columnIndex ) : List
rowIndex int
columnIndex int
Résultat List

PlayerWins() public méthode

public PlayerWins ( ) : bool
Résultat bool

RemarkCell() public méthode

public RemarkCell ( int rowIndex, int columnIndex ) : Cell
rowIndex int
columnIndex int
Résultat Cell