C# 클래스 BalloonsPop.ConsoleUI.ConsoleUI

상속: IUserInterface
파일 보기 프로젝트 열기: Baloons-Pop-4/Main 1 사용 예제들

공개 메소드들

메소드 설명
ConsoleUI ( ) : System

Initializes a new instance of the ConsoleUI class.

PrintField ( IBalloon matrix ) : void
PrintHighscore ( IHighscoreTable highScore ) : void
PrintMessage ( string message ) : void
PrintPlayerMoves ( string moves ) : void
ReadUserInput ( ) : string

비공개 메소드들

메소드 설명
GetDashedLine ( int count ) : string
PrintBalloon ( IBalloon balloon ) : void
PrintColumnIndeces ( ) : void
PrintDashedLine ( int dashesCount ) : void
PrintRowBeggining ( byte cellValue ) : void
PrintRowEnd ( ) : void
SetConsoleColor ( int key ) : void
SetConsoleColorToDefault ( ) : void

메소드 상세

ConsoleUI() 공개 메소드

Initializes a new instance of the ConsoleUI class.
public ConsoleUI ( ) : System
리턴 System

PrintField() 공개 메소드

public PrintField ( IBalloon matrix ) : void
matrix IBalloon
리턴 void

PrintHighscore() 공개 메소드

public PrintHighscore ( IHighscoreTable highScore ) : void
highScore IHighscoreTable
리턴 void

PrintMessage() 공개 메소드

public PrintMessage ( string message ) : void
message string
리턴 void

PrintPlayerMoves() 공개 메소드

public PrintPlayerMoves ( string moves ) : void
moves string
리턴 void

ReadUserInput() 공개 메소드

public ReadUserInput ( ) : string
리턴 string