Class NotificationLoader

java.lang.Object
polimi.ingsw.am21.codex.view.GUI.utils.NotificationLoader

public class NotificationLoader extends Object
  • Field Details

  • Constructor Details

    • NotificationLoader

      public NotificationLoader(javafx.stage.Stage notificationStage)
  • Method Details

    • addNotification

      public void addNotification(NotificationType notificationType, String message) throws IOException
      Adds a notification to the queue
      Throws:
      IOException
    • processNotifications

      public void processNotifications() throws IOException
      Recursively processes the notifications in the queue until it's empty
      Throws:
      IOException