C# Class ForMiner.SaperCell

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

Méthodes publiques

Свойство Type Description
X int
Y int
numberOf9TypeNeighbours int
numberOfFlags int
value int

Méthodes publiques

Méthode Description
Probability ( ) : float
SaperCell ( int setValue, int setX, int setY ) : System
get9TypeNeighbours ( ) : ForMiner.SaperCell[]
getNeighbours ( ) : ForMiner.SaperCell[]
setNeighbour ( SaperCell cell, int position ) : void

Method Details

Probability() public méthode

public Probability ( ) : float
Résultat float

SaperCell() public méthode

public SaperCell ( int setValue, int setX, int setY ) : System
setValue int
setX int
setY int
Résultat System

get9TypeNeighbours() public méthode

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

getNeighbours() public méthode

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

setNeighbour() public méthode

public setNeighbour ( SaperCell cell, int position ) : void
cell SaperCell
position int
Résultat void

Property Details

X public_oe property

public int X
Résultat int

Y public_oe property

public int Y
Résultat int

numberOf9TypeNeighbours public_oe property

public int numberOf9TypeNeighbours
Résultat int

numberOfFlags public_oe property

public int numberOfFlags
Résultat int

value public_oe property

public int value
Résultat int