C# Class Minesweeper.Core.Minefield

A basic implementation of the IMinefield interface, using a two-dimensional array to store the matrix.
Inheritance: IMinefield
Exibir arquivo Open project: jaegerpicker/CantonSoftwareMentorship Class Usage Examples

Public Methods

Method Description
GetArea ( int row, int col ) : IMineArea
Minefield ( int width, int height ) : System

Method Details

GetArea() public method

public GetArea ( int row, int col ) : IMineArea
row int
col int
return IMineArea

Minefield() public method

public Minefield ( int width, int height ) : System
width int
height int
return System