From 081892ea6d0cd01dd270fc402515aab757c3c9f0 Mon Sep 17 00:00:00 2001 From: Siddhant Dewani Date: Sun, 24 Feb 2019 21:57:53 -0700 Subject: [PATCH] Small thing, changed an output of warehouse a bit, shows user its the warehouse they are concerned with. --- src/Bank.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bank.java b/src/Bank.java index 6d3ca6a..a2f6676 100644 --- a/src/Bank.java +++ b/src/Bank.java @@ -29,6 +29,7 @@ public class Bank{ if(response.equalsIgnoreCase("W")){ boolean notDone2 = true; while(notDone2){ + System.out.println("How much do you wish to Withdraw"); int withdraw = input.nextInt(); if(withdraw <= player.getBank()){ player.setMoney(withdraw + player.getMoney()); @@ -40,6 +41,7 @@ public class Bank{ }else if(response.equalsIgnoreCase("D")){ boolean notDone2 = true; while(notDone2){ + System.out.println("How much do you wish to Deposit"); int deposit = input.nextInt(); if(deposit <= player.getMoney()){ player.setBank(deposit + player.getBank());