From 13f30b681a852c593fad3836fa23195806ac7645 Mon Sep 17 00:00:00 2001 From: Vikramb987 <47336882+Vikramb987@users.noreply.github.com> Date: Sun, 10 Mar 2019 21:12:26 -0600 Subject: [PATCH] Update TaipanShopGUI.java made it so that certain buttons are invisible in certain locations. --- src/TaipanShopGUI.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/TaipanShopGUI.java b/src/TaipanShopGUI.java index 2822951..7c794cf 100644 --- a/src/TaipanShopGUI.java +++ b/src/TaipanShopGUI.java @@ -491,7 +491,7 @@ public class TaipanShopGUI { bankButton.setOnAction(new EventHandler() { @Override public void handle(ActionEvent event) { - bankGUI bank = new bankGUI(player); + bankGUI bank = new bankGUI(); bank.initializeBank(stage); stage.show(); } @@ -520,7 +520,7 @@ public class TaipanShopGUI { loanButton.setOnAction(new EventHandler() { @Override public void handle(ActionEvent event) { - loanSharkGUI loan = new loanSharkGUI(player); + loanSharkGUI loan = new loanSharkGUI(); loan.initializeLoanShark(stage); stage.show(); } @@ -754,6 +754,7 @@ public class TaipanShopGUI { stage.setResizable(false); stage.setScene(root); + buttonSetup("reset"); updatePrices(); defaultTextOut(); updateStage();