C# 클래스 Minesweeper.MineSweeperGame

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

공개 메소드들

메소드 설명
FlagTile ( int col, int row ) : void
ForceRedraw ( ) : void
GetCurrentScore ( ) : int
GetDrawType ( int col, int row ) : DrawType
GetTileValue ( int col, int row ) : int
MineSweeperGame ( int columns, int rows, int mines, bool bDoQuestioned, Func adrawer ) : System
UncoverTile ( int col, int row ) : void
isGameOver ( ) : bool
wasGameWon ( ) : bool

비공개 메소드들

메소드 설명
CalculateTileValue ( Minesweeper.Tile tile ) : int
CheckForWin ( ) : bool
DoNeighbor ( Minesweeper.Tile tile, Neighbors neighbor ) : void
DoUncover ( Minesweeper.Tile tile ) : void
GetNeighbor ( Minesweeper.Tile target, Neighbors neighbor ) : Minesweeper.Tile
RandomTile ( ) : Point

메소드 상세

FlagTile() 공개 메소드

public FlagTile ( int col, int row ) : void
col int
row int
리턴 void

ForceRedraw() 공개 메소드

public ForceRedraw ( ) : void
리턴 void

GetCurrentScore() 공개 메소드

public GetCurrentScore ( ) : int
리턴 int

GetDrawType() 공개 메소드

public GetDrawType ( int col, int row ) : DrawType
col int
row int
리턴 DrawType

GetTileValue() 공개 메소드

public GetTileValue ( int col, int row ) : int
col int
row int
리턴 int

MineSweeperGame() 공개 메소드

public MineSweeperGame ( int columns, int rows, int mines, bool bDoQuestioned, Func adrawer ) : System
columns int
rows int
mines int
bDoQuestioned bool
adrawer Func
리턴 System

UncoverTile() 공개 메소드

public UncoverTile ( int col, int row ) : void
col int
row int
리턴 void

isGameOver() 공개 메소드

public isGameOver ( ) : bool
리턴 bool

wasGameWon() 공개 메소드

public wasGameWon ( ) : bool
리턴 bool