C# 클래스 PacMan.Game

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

공개 메소드들

메소드 설명
Game ( int currentLevel ) : Level.System,
IsLevelComplete ( ) : bool
IsLoose ( ) : bool
IsWin ( ) : bool
KeyDown ( int directionNumber ) : void
MakeMovePacMan ( Point newPacManLocation, Point eyeCoordinate, Point mouthCoordinate ) : void
ReadNewLevelOnFile ( ) : Level

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
ConsiderNumberLevels ( ) : int
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsNewPacManLocationInMap ( Point newLocation ) : bool
MakeMoveEnemy ( object sender ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Game() 공개 메소드

public Game ( int currentLevel ) : Level.System,
currentLevel int
리턴 Level.System,

IsLevelComplete() 공개 메소드

public IsLevelComplete ( ) : bool
리턴 bool

IsLoose() 공개 메소드

public IsLoose ( ) : bool
리턴 bool

IsWin() 공개 메소드

public IsWin ( ) : bool
리턴 bool

KeyDown() 공개 메소드

public KeyDown ( int directionNumber ) : void
directionNumber int
리턴 void

MakeMovePacMan() 공개 메소드

public MakeMovePacMan ( Point newPacManLocation, Point eyeCoordinate, Point mouthCoordinate ) : void
newPacManLocation Point
eyeCoordinate Point
mouthCoordinate Point
리턴 void

ReadNewLevelOnFile() 공개 메소드

public ReadNewLevelOnFile ( ) : Level
리턴 Level