Merged together Taipanshop with both Loanshark and Bank GUI

This commit is contained in:
2019-03-10 18:36:54 -06:00
parent c3f7cc16d2
commit 0f2e8848ad
4 changed files with 9 additions and 14 deletions

View File

@@ -492,7 +492,9 @@ public class TaipanShopGUI {
bankButton.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
System.out.println("PLACEHOLDER FOR BANK");
bankGUI bank = new bankGUI();
bank.initializeBank(stage);
stage.show();
}
});
bankButton.setMnemonicParsing(false);
@@ -519,7 +521,9 @@ public class TaipanShopGUI {
loanButton.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
System.out.println("PLACEHOLDER FOR LOAN SHARK");
loanSharkGUI loan = new loanSharkGUI();
loan.initializeLoanShark(stage);
stage.show();
}
});
loanButton.setText("Get Loans");