View/GamePVPView.java
private void createToggleButtons(){
        rockB = new ToggleButton();
        rockB.setLayoutX(20);
        rockB.setLayoutY(60);
        rockB.setGraphic(new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Rock.jpg"))));

        paperB = new ToggleButton();
        paperB.setLayoutX(315);
        paperB.setLayoutY(60);
        paperB.setGraphic(new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Paper.jpg"))));

        scissorsB = new ToggleButton();
        scissorsB.setLayoutX(615);
        scissorsB.setLayoutY(60);
        scissorsB.setGraphic(new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Scissors.jpg"))));
        pane.getChildren().addAll(rockB,paperB,scissorsB);
    }
/*Creates the rock, paper, and scissor buttons*/
Creates the rock, paper, and scissor buttons
Creates the rock paper and scissor buttons
private void createToggleButtons(){
        rockB = new ToggleButton();
        rockB.setLayoutX(20);
        rockB.setLayoutY(60);
        rockB.setGraphic(new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Rock.jpg"))));
        paperB = new ToggleButton();
        paperB.setLayoutX(315);
        paperB.setLayoutY(60);
        paperB.setGraphic(new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Paper.jpg"))));
        scissorsB = new ToggleButton();
        scissorsB.setLayoutX(615);
        scissorsB.setLayoutY(60);
        scissorsB.setGraphic(new ImageView(new Image(getClass().getResourceAsStream("/View/Assets/Scissors.jpg"))));
        pane.getChildren().addAll(rockB,paperB,scissorsB);
    }
private void createToggleButtons ( ) { rockB = new ToggleButton ( ) ; rockB . setLayoutX ( 20 ) ; rockB . setLayoutY ( 60 ) ; rockB . setGraphic ( new ImageView ( new Image ( getClass ( ) . getResourceAsStream ( "/View/Assets/Rock.jpg" ) ) ) ) ; paperB = new ToggleButton ( ) ; paperB . setLayoutX ( 315 ) ; paperB . setLayoutY ( 60 ) ; paperB . setGraphic ( new ImageView ( new Image ( getClass ( ) . getResourceAsStream ( "/View/Assets/Paper.jpg" ) ) ) ) ; scissorsB = new ToggleButton ( ) ; scissorsB . setLayoutX ( 615 ) ; scissorsB . setLayoutY ( 60 ) ; scissorsB . setGraphic ( new ImageView ( new Image ( getClass ( ) . getResourceAsStream ( "/View/Assets/Scissors.jpg" ) ) ) ) ; pane . getChildren ( ) . addAll ( rockB , paperB , scissorsB ) ; }
Creates the rock, paper, and scissor buttons
Creates the rock paper and scissor buttons