Method | Description | |
---|---|---|
MainWindowController ( |
Initializes a new instance of the MainWindowController class with view and resource provider.
|
|
PrintField ( IBalloon matrix ) : void |
Introduces updates on the view bases on the provided IBalloon two-dimensional array.
|
|
PrintHighscore ( IHighscoreTable table ) : void |
Updates the ranking of the view based on the provided IHighscoreTable instance.
|
|
PrintMessage ( string message ) : void |
Updates the view's message section.
|
|
PrintPlayerMoves ( string moves ) : void |
Draws the passed string as player moves on the view.
|
|
Show ( ) : void |
Displays the view and returns without waiting for the view to close.
|
Method | Description | |
---|---|---|
InitializeBalloonImageMatrix ( int rowsCount, int colsCount ) : void |
public MainWindowController ( |
||
window | The view which the newly created instance is responsible for managing. | |
resources | IBalloonsWpfResourceProvider | The resource provider which the newly created instance will query for resources. |
return | System |
public PrintField ( IBalloon matrix ) : void | ||
matrix | IBalloon | The array which is used as a blueprint for introducing changes to the view. |
return | void |
public PrintHighscore ( IHighscoreTable table ) : void | ||
table | IHighscoreTable | The highscore table on which the introduced changes are based. |
return | void |
public PrintMessage ( string message ) : void | ||
message | string | The message to be shown to the user. |
return | void |
public PrintPlayerMoves ( string moves ) : void | ||
moves | string | |
return | void |