C# 클래스 Snake.SnakeConsole

상속: SadConsole.Consoles.Console
파일 보기 프로젝트 열기: Thraka/SadConsole 1 사용 예제들

공개 메소드들

메소드 설명
ProcessKeyboard ( SadConsole info ) : bool
SnakeConsole ( ) : System
Update ( ) : void

비공개 메소드들

메소드 설명
AstrickKeyAnimationCb ( CodeInstruction codeInstruction ) : void
ClearScreen ( ) : void
CollisionDetection ( Point target ) : bool
CollisionDetectionSelf ( Point target ) : bool
CollisionDetectionWall ( Point target ) : bool
CreateFadeAnimation ( ) : SadConsole.Effects.Fade
CreateMenu ( ) : void
CreateRandomWaferLocation ( ) : void
CreateStartMessage ( ) : void
DownKeyAnimationCb ( CodeInstruction codeInstruction ) : void
DrawGameBorder ( ) : void
DrawPhoneButton ( int x, int y, String text ) : void
DrawScore ( int score ) : void
EndGame ( ) : void
LeftKeyAnimationCb ( CodeInstruction codeInstruction ) : void
ProcessKeyboardGameOver ( SadConsole info ) : bool
ProcessKeyboardMenu ( SadConsole info ) : bool
ProcessKeyboardRunning ( SadConsole info ) : bool
ResetGame ( ) : void
RightKeyAnimationCb ( CodeInstruction codeInstruction ) : void
RunGameLogic ( ) : void
UpKeyAnimationCb ( CodeInstruction codeInstruction ) : void
UpdateGame ( ) : void

메소드 상세

ProcessKeyboard() 공개 메소드

public ProcessKeyboard ( SadConsole info ) : bool
info SadConsole
리턴 bool

SnakeConsole() 공개 메소드

public SnakeConsole ( ) : System
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void