C# 클래스 MineSweeper.CellAroundMethod

파일 보기 프로젝트 열기: Confirmit/Students

보호된 프로퍼티들

프로퍼티 타입 설명
Height int

공개 메소드들

메소드 설명
CellAroundMethod ( int height, int width ) : System
CellCalculation ( Cell currentCell ) : void

보호된 메소드들

메소드 설명
Condition ( Cell currentCell, Cell neighbourCell ) : bool
ConditionalAction ( Cell currentCell, Cell neighbourCell ) : void
NeedCheckNeighbors ( Cell currentCell ) : bool
UnconditionalAction ( Cell currentCell ) : void

메소드 상세

CellAroundMethod() 공개 메소드

public CellAroundMethod ( int height, int width ) : System
height int
width int
리턴 System

CellCalculation() 공개 메소드

public CellCalculation ( Cell currentCell ) : void
currentCell Cell
리턴 void

Condition() 보호된 추상적인 메소드

protected abstract Condition ( Cell currentCell, Cell neighbourCell ) : bool
currentCell Cell
neighbourCell Cell
리턴 bool

ConditionalAction() 보호된 추상적인 메소드

protected abstract ConditionalAction ( Cell currentCell, Cell neighbourCell ) : void
currentCell Cell
neighbourCell Cell
리턴 void

NeedCheckNeighbors() 보호된 추상적인 메소드

protected abstract NeedCheckNeighbors ( Cell currentCell ) : bool
currentCell Cell
리턴 bool

UnconditionalAction() 보호된 추상적인 메소드

protected abstract UnconditionalAction ( Cell currentCell ) : void
currentCell Cell
리턴 void

프로퍼티 상세

Height 보호되어 있는 프로퍼티

protected int Height
리턴 int