View/GamePVPView.java
public void displayCurScores(String s){
        changeScoreLabels();
        Alert alert = new Alert(Alert.AlertType.NONE, s);
        alert.getDialogPane().getStylesheets().add("/View/stylesheet.css");

        ButtonType alertButton1 = new ButtonType("Ok");
        alert.getButtonTypes().setAll(alertButton1);
        alert.showAndWait();
    }
/*Changes the scores labels and creates an alert with the winner of the current round*/
Changes the scores labels and creates an alert with the winner of the current round
Changes the scores labels and creates an alert with the winner of the current round
public void displayCurScores(String s){
        changeScoreLabels();
        Alert alert = new Alert(Alert.AlertType.NONE, s);
        alert.getDialogPane().getStylesheets().add("/View/stylesheet.css");
        ButtonType alertButton1 = new ButtonType("Ok");
        alert.getButtonTypes().setAll(alertButton1);
        alert.showAndWait();
    }
public void displayCurScores ( String s ) { changeScoreLabels ( ) ; Alert alert = new Alert ( Alert . AlertType . NONE , s ) ; alert . getDialogPane ( ) . getStylesheets ( ) . add ( "/View/stylesheet.css" ) ; ButtonType alertButton1 = new ButtonType ( "Ok" ) ; alert . getButtonTypes ( ) . setAll ( alertButton1 ) ; alert . showAndWait ( ) ; }
Changes the scores labels and creates an alert with the winner of the current round
Changes the scores labels and creates an alert with the winner of the current round