C# Class Minesweeper.Board

Afficher le fichier Open project: ajlopez/TddRocks Class Usage Examples

Méthodes publiques

Méthode Description
Board ( int nrows, int ncols ) : System
SetClick ( int nr, int nc ) : void
SetEmpty ( int nr, int nc ) : void
SetEmptyCell ( int nr, int nc ) : void
ToLines ( ) : IList

Private Methods

Méthode Description
ToLine ( int nrow ) : string

Method Details

Board() public méthode

public Board ( int nrows, int ncols ) : System
nrows int
ncols int
Résultat System

SetClick() public méthode

public SetClick ( int nr, int nc ) : void
nr int
nc int
Résultat void

SetEmpty() public méthode

public SetEmpty ( int nr, int nc ) : void
nr int
nc int
Résultat void

SetEmptyCell() public méthode

public SetEmptyCell ( int nr, int nc ) : void
nr int
nc int
Résultat void

ToLines() public méthode

public ToLines ( ) : IList
Résultat IList