C# Class ForMiner.SaperFieldOfCells

Afficher le fichier Open project: JohnyWaster/SaperBot Class Usage Examples

Méthodes publiques

Свойство Type Description
numberOfMines int
numberOfNotOpened int

Méthodes publiques

Méthode 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 méthode

public FindNeighboursOfCell ( SaperCell cell ) : void
cell SaperCell
Résultat void

GetNotOpened() public méthode

public GetNotOpened ( ) : ForMiner.SaperCell[]
Résultat ForMiner.SaperCell[]

GetSaperField() public méthode

public GetSaperField ( ) : ].SaperCell[
Résultat ].SaperCell[

Probability() public méthode

public Probability ( ) : float
Résultat float

SaperFieldOfCells() public méthode

public SaperFieldOfCells ( int fieldOfNumbers ) : System
fieldOfNumbers int
Résultat System

SetNeighboursForAllCells() public méthode

public SetNeighboursForAllCells ( ) : void
Résultat void

SetSaperCell() public méthode

public SetSaperCell ( int value, int x, int y ) : void
value int
x int
y int
Résultat void

Property Details

numberOfMines public_oe property

public int numberOfMines
Résultat int

numberOfNotOpened public_oe property

public int numberOfNotOpened
Résultat int