View/StoreView.java
public void createButtons(){
        backB = new Button("", new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/BackButtonImage.png"))));
        backB.setId("back-button");
        backB.setLayoutX(20);
        backB.setLayoutY(400);
        witchHat = new Button("Witch Hat",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/WitchHat.png"))));
        witchHat.setLayoutX(20);
        witchHat.setLayoutY(60);
        iceFlame = new Button("Ice Flame",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/IceFlame.png"))));
        iceFlame.setLayoutX(20);
        iceFlame.setLayoutY(180);
        candy = new Button("Candy",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Candy.png"))));
        candy.setLayoutX(400);
        candy.setLayoutY(300);
        pickaxe = new Button("Axe",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Axe.png"))));
        pickaxe.setLayoutX(400);
        pickaxe.setLayoutY(60);
        cloud = new Button("Cloud",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Cloud.png"))));
        cloud.setLayoutX(400);
        cloud.setLayoutY(180);

        pane.getChildren().addAll(witchHat,iceFlame,pickaxe,candy,cloud,backB);
    }
/*Creates all the buttons to place in the pane of the store,
     *including a back button and buttons for the five items that will be in the store
     *(witch hat, ice flame, candy, pickaxe, cloud)
     */
Creates all the buttons to place in the pane of the store,
including a back button and buttons for the five items that will be in the store
(witch hat, ice flame, candy, pickaxe, cloud)
Creates all the buttons to place in the pane of the store including a back button and buttons for the five items that will be in the store ( witch hat ice flame candy pickaxe cloud )
public void createButtons(){
        backB = new Button("", new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/BackButtonImage.png"))));
        backB.setId("back-button");
        backB.setLayoutX(20);
        backB.setLayoutY(400);
        witchHat = new Button("Witch Hat",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/WitchHat.png"))));
        witchHat.setLayoutX(20);
        witchHat.setLayoutY(60);
        iceFlame = new Button("Ice Flame",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/IceFlame.png"))));
        iceFlame.setLayoutX(20);
        iceFlame.setLayoutY(180);
        candy = new Button("Candy",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Candy.png"))));
        candy.setLayoutX(400);
        candy.setLayoutY(300);
        pickaxe = new Button("Axe",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Axe.png"))));
        pickaxe.setLayoutX(400);
        pickaxe.setLayoutY(60);
        cloud = new Button("Cloud",new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Cloud.png"))));
        cloud.setLayoutX(400);
        cloud.setLayoutY(180);
        pane.getChildren().addAll(witchHat,iceFlame,pickaxe,candy,cloud,backB);
    }
public void createButtons ( ) { backB = new Button ( "" , new ImageView ( new Image ( getClass ( ) . getResourceAsStream ( "/View/Assets/BackButtonImage.png" ) ) ) ) ; backB . setId ( "back-button" ) ; backB . setLayoutX ( 20 ) ; backB . setLayoutY ( 400 ) ; witchHat = new Button ( "Witch Hat" , new ImageView ( new Image ( getClass ( ) . getResourceAsStream ( "/View/Assets/WitchHat.png" ) ) ) ) ; witchHat . setLayoutX ( 20 ) ; witchHat . setLayoutY ( 60 ) ; iceFlame = new Button ( "Ice Flame" , new ImageView ( new Image ( getClass ( ) . getResourceAsStream ( "/View/Assets/IceFlame.png" ) ) ) ) ; iceFlame . setLayoutX ( 20 ) ; iceFlame . setLayoutY ( 180 ) ; candy = new Button ( "Candy" , new ImageView ( new Image ( getClass ( ) . getResourceAsStream ( "/View/Assets/Candy.png" ) ) ) ) ; candy . setLayoutX ( 400 ) ; candy . setLayoutY ( 300 ) ; pickaxe = new Button ( "Axe" , new ImageView ( new Image ( getClass ( ) . getResourceAsStream ( "/View/Assets/Axe.png" ) ) ) ) ; pickaxe . setLayoutX ( 400 ) ; pickaxe . setLayoutY ( 60 ) ; cloud = new Button ( "Cloud" , new ImageView ( new Image ( getClass ( ) . getResourceAsStream ( "/View/Assets/Cloud.png" ) ) ) ) ; cloud . setLayoutX ( 400 ) ; cloud . setLayoutY ( 180 ) ; pane . getChildren ( ) . addAll ( witchHat , iceFlame , pickaxe , candy , cloud , backB ) ; }
Creates all the buttons to place in the pane of the store,
including a back button and buttons for the five items that will be in the store
(witch hat, ice flame, candy, pickaxe, cloud)
Creates all the buttons to place in the pane of the store including a back button and buttons for the five items that will be in the store ( witch hat ice flame candy pickaxe cloud )