Made it so you're not locked out of Taipan shop for Bank and Loanshark

This commit is contained in:
2019-03-10 18:54:03 -06:00
parent 31e93f6997
commit d395d91730
2 changed files with 10 additions and 6 deletions

View File

@@ -126,11 +126,13 @@ public class bankGUI{
); );
b3.setOnAction(new EventHandler<ActionEvent>() { b3.setOnAction(new EventHandler<ActionEvent>() {
@Override @Override
public void handle(ActionEvent event) { public void handle(ActionEvent event) {
System.out.println("PLACEHOLDER FOR SHOP"); TaipanShopGUI shopGUI = new TaipanShopGUI(player);
} shopGUI.initializeShop(primaryStage);
} primaryStage.show();
}
}
); );

View File

@@ -133,7 +133,9 @@ public class loanSharkGUI{
b3.setOnAction(new EventHandler<ActionEvent>() { b3.setOnAction(new EventHandler<ActionEvent>() {
@Override @Override
public void handle(ActionEvent event) { public void handle(ActionEvent event) {
System.out.println("PLACEHOLDER FOR SHOP"); TaipanShopGUI shopGUI = new TaipanShopGUI(player);
shopGUI.initializeShop(primaryStage);
primaryStage.show();
} }
} }
); );