Fixed bank and loanshark

This commit is contained in:
Siddhant Dewani
2019-03-10 21:11:49 -06:00
parent 01ee9b2600
commit 1d5e5aa706
3 changed files with 19 additions and 18 deletions

View File

@@ -491,7 +491,7 @@ public class TaipanShopGUI {
bankButton.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
bankGUI bank = new bankGUI();
bankGUI bank = new bankGUI(player);
bank.initializeBank(stage);
stage.show();
}
@@ -520,7 +520,7 @@ public class TaipanShopGUI {
loanButton.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
loanSharkGUI loan = new loanSharkGUI();
loanSharkGUI loan = new loanSharkGUI(player);
loan.initializeLoanShark(stage);
stage.show();
}