Beispiel #1
0
 public void EndOfGame(Player player)
 {
     if (player.weeklyProfit > 0)
     {
         UserInterface.PlayerWinsGamePrompt(player, player.weeklyProfit);
         RestartGame();
     }
     else
     {
         UserInterface.PlayerLosesGamePrompt(player, player.weeklyProfit);
         RestartGame();
     }
 }