C# Class ForMiner.SaperFieldOfCells

Mostrar archivo Open project: JohnyWaster/SaperBot Class Usage Examples

Public Properties

Property Type Description
numberOfMines int
numberOfNotOpened int

Public Methods

Method Description
FindNeighboursOfCell ( SaperCell cell ) : void
GetNotOpened ( ) : ForMiner.SaperCell[]
GetSaperField ( ) : ].SaperCell[
Probability ( ) : float
SaperFieldOfCells ( int fieldOfNumbers ) : System
SetNeighboursForAllCells ( ) : void
SetSaperCell ( int value, int x, int y ) : void

Method Details

FindNeighboursOfCell() public method

public FindNeighboursOfCell ( SaperCell cell ) : void
cell SaperCell
return void

GetNotOpened() public method

public GetNotOpened ( ) : ForMiner.SaperCell[]
return ForMiner.SaperCell[]

GetSaperField() public method

public GetSaperField ( ) : ].SaperCell[
return ].SaperCell[

Probability() public method

public Probability ( ) : float
return float

SaperFieldOfCells() public method

public SaperFieldOfCells ( int fieldOfNumbers ) : System
fieldOfNumbers int
return System

SetNeighboursForAllCells() public method

public SetNeighboursForAllCells ( ) : void
return void

SetSaperCell() public method

public SetSaperCell ( int value, int x, int y ) : void
value int
x int
y int
return void

Property Details

numberOfMines public_oe property

public int numberOfMines
return int

numberOfNotOpened public_oe property

public int numberOfNotOpened
return int