Skip to content

Commit a39ae80

Browse files
Integration of EndComponentGUI
1 parent 8d859e1 commit a39ae80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MinivilleGUI/MinivilleGUI.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,9 @@ protected override void Update(GameTime gameTime)
564564
SnapIaCards();
565565
}
566566
*/
567+
568+
_endComponentGUI.Visible = _game.IsComputerWin() || _game.IsPlayerWin();
569+
_endComponentGUI.Success = _game.IsPlayerWin();
567570

568571
_buyCardsButtonComponentGUI.Enabled = _game.PlayerTurn;
569572
_passTurnButtonComponentGUI.Enabled = _game.PlayerTurn;

0 commit comments

Comments
 (0)