C# Class Minesweeper.Board

Show file Open project: ajlopez/TddRocks Class Usage Examples

Public Methods

Method 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

Method Description
ToLine ( int nrow ) : string

Method Details

Board() public method

public Board ( int nrows, int ncols ) : System
nrows int
ncols int
return System

SetClick() public method

public SetClick ( int nr, int nc ) : void
nr int
nc int
return void

SetEmpty() public method

public SetEmpty ( int nr, int nc ) : void
nr int
nc int
return void

SetEmptyCell() public method

public SetEmptyCell ( int nr, int nc ) : void
nr int
nc int
return void

ToLines() public method

public ToLines ( ) : IList
return IList