View/GamePVAIView.java
public void createNoItemAlert(){
        Alert alert = new Alert(Alert.AlertType.NONE, "You don't have any items of this type");
        alert.getDialogPane().getStylesheets().add("/View/stylesheet.css");

        ButtonType alertButton1 = new ButtonType("Ok");
        alert.getButtonTypes().setAll(alertButton1);
        alert.showAndWait();

    }
/*On call, creates an alert that tells the user that he or she
     *has no items of type shown by the button he or she clicked
     */
On call, creates an alert that tells the user that he or she
has no items of type shown by the button he or she clicked
On call creates an alert that tells the user that he or she has no items of type shown by the button he or she clicked
public void createNoItemAlert(){
        Alert alert = new Alert(Alert.AlertType.NONE, "You don't have any items of this type");
        alert.getDialogPane().getStylesheets().add("/View/stylesheet.css");
        ButtonType alertButton1 = new ButtonType("Ok");
        alert.getButtonTypes().setAll(alertButton1);
        alert.showAndWait();
    }
public void createNoItemAlert ( ) { Alert alert = new Alert ( Alert . AlertType . NONE , "You don't have any items of this type" ) ; alert . getDialogPane ( ) . getStylesheets ( ) . add ( "/View/stylesheet.css" ) ; ButtonType alertButton1 = new ButtonType ( "Ok" ) ; alert . getButtonTypes ( ) . setAll ( alertButton1 ) ; alert . showAndWait ( ) ; }
On call, creates an alert that tells the user that he or she
has no items of type shown by the button he or she clicked
On call creates an alert that tells the user that he or she has no items of type shown by the button he or she clicked