Made it so you're not locked out of Taipan shop for Bank and Loanshark
This commit is contained in:
@@ -126,11 +126,13 @@ public class bankGUI{
|
||||
);
|
||||
|
||||
b3.setOnAction(new EventHandler<ActionEvent>() {
|
||||
@Override
|
||||
public void handle(ActionEvent event) {
|
||||
System.out.println("PLACEHOLDER FOR SHOP");
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public void handle(ActionEvent event) {
|
||||
TaipanShopGUI shopGUI = new TaipanShopGUI(player);
|
||||
shopGUI.initializeShop(primaryStage);
|
||||
primaryStage.show();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
@@ -133,7 +133,9 @@ public class loanSharkGUI{
|
||||
b3.setOnAction(new EventHandler<ActionEvent>() {
|
||||
@Override
|
||||
public void handle(ActionEvent event) {
|
||||
System.out.println("PLACEHOLDER FOR SHOP");
|
||||
TaipanShopGUI shopGUI = new TaipanShopGUI(player);
|
||||
shopGUI.initializeShop(primaryStage);
|
||||
primaryStage.show();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user