C# 클래스 BalloonsPop.ConsoleUserInterface.GnomController

Server as manipulator for the application's view.
상속: IPrinter
파일 보기 프로젝트 열기: Baloons-Pop-4/Main

공개 메소드들

메소드 설명
GnomController ( IGnomTree view ) : System

Assign a gnom view to the current instance.

PrintField ( IBalloon matrix ) : void

Updates the view with information from the provided balloon matrix.

PrintHighscore ( IHighscoreTable table ) : void

Prints the highscore in the rankings section of the view.

PrintMessage ( string message ) : void

Prints a message on view.

PrintPlayerMoves ( string moves ) : void

Display the provided string in the section for user moves.

비공개 메소드들

메소드 설명
InitializeField ( IBalloon matrix ) : void

메소드 상세

GnomController() 공개 메소드

Assign a gnom view to the current instance.
public GnomController ( IGnomTree view ) : System
view IGnomTree
리턴 System

PrintField() 공개 메소드

Updates the view with information from the provided balloon matrix.
public PrintField ( IBalloon matrix ) : void
matrix IBalloon
리턴 void

PrintHighscore() 공개 메소드

Prints the highscore in the rankings section of the view.
public PrintHighscore ( IHighscoreTable table ) : void
table IHighscoreTable
리턴 void

PrintMessage() 공개 메소드

Prints a message on view.
public PrintMessage ( string message ) : void
message string
리턴 void

PrintPlayerMoves() 공개 메소드

Display the provided string in the section for user moves.
public PrintPlayerMoves ( string moves ) : void
moves string
리턴 void