Skip to content

Commit

Permalink
update UI
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfeo authored Nov 21, 2023
1 parent 72170b9 commit ccbe4b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TheMiddleman/UserInterface/ConsoleUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public ConsoleUI(MarketService marketService)
{
_marketService = marketService;
_marketService._OnDayStart += ShowMenuAndTakeAction;
_marketService._OnBankruptcy += HandleBankruptcy;
_marketService._OnBankruptcy += ShowMiddlemanBankroped;
_marketService._OnEndOfGame += ShowEndOfGame;
_marketService._OnStartOfGame += ShowCreationMiddlemen;
Console.OutputEncoding = System.Text.Encoding.UTF8;
Expand Down Expand Up @@ -56,7 +56,7 @@ private void ShowEndOfGame(List<Middleman> middlemen)
}
}

private void HandleBankruptcy(Middleman middleman)
private void ShowMiddlemanBankroped(Middleman middleman)
{
if (_marketService.CheckIfMiddlemanIsLastBankroped(middleman))
{
Expand Down

0 comments on commit ccbe4b2

Please sign in to comment.