C# Class ForMiner.SaperCell

Mostrar archivo Open project: JohnyWaster/SaperBot Class Usage Examples

Public Properties

Property Type Description
X int
Y int
numberOf9TypeNeighbours int
numberOfFlags int
value int

Public Methods

Method 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 method

public Probability ( ) : float
return float

SaperCell() public method

public SaperCell ( int setValue, int setX, int setY ) : System
setValue int
setX int
setY int
return System

get9TypeNeighbours() public method

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

getNeighbours() public method

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

setNeighbour() public method

public setNeighbour ( SaperCell cell, int position ) : void
cell SaperCell
position int
return void

Property Details

X public_oe property

public int X
return int

Y public_oe property

public int Y
return int

numberOf9TypeNeighbours public_oe property

public int numberOf9TypeNeighbours
return int

numberOfFlags public_oe property

public int numberOfFlags
return int

value public_oe property

public int value
return int