C# 클래스 ForMiner.SaperCell

파일 보기 프로젝트 열기: JohnyWaster/SaperBot 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
X int
Y int
numberOf9TypeNeighbours int
numberOfFlags int
value int

공개 메소드들

메소드 설명
Probability ( ) : float
SaperCell ( int setValue, int setX, int setY ) : System
get9TypeNeighbours ( ) : ForMiner.SaperCell[]
getNeighbours ( ) : ForMiner.SaperCell[]
setNeighbour ( SaperCell cell, int position ) : void

메소드 상세

Probability() 공개 메소드

public Probability ( ) : float
리턴 float

SaperCell() 공개 메소드

public SaperCell ( int setValue, int setX, int setY ) : System
setValue int
setX int
setY int
리턴 System

get9TypeNeighbours() 공개 메소드

public get9TypeNeighbours ( ) : ForMiner.SaperCell[]
리턴 ForMiner.SaperCell[]

getNeighbours() 공개 메소드

public getNeighbours ( ) : ForMiner.SaperCell[]
리턴 ForMiner.SaperCell[]

setNeighbour() 공개 메소드

public setNeighbour ( SaperCell cell, int position ) : void
cell SaperCell
position int
리턴 void

프로퍼티 상세

X 공개적으로 프로퍼티

public int X
리턴 int

Y 공개적으로 프로퍼티

public int Y
리턴 int

numberOf9TypeNeighbours 공개적으로 프로퍼티

public int numberOf9TypeNeighbours
리턴 int

numberOfFlags 공개적으로 프로퍼티

public int numberOfFlags
리턴 int

value 공개적으로 프로퍼티

public int value
리턴 int