Module polimi.ingsw.am21.codex
Class NotificationLoader
java.lang.Object
polimi.ingsw.am21.codex.view.GUI.utils.NotificationLoader
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNotification
(NotificationType notificationType, String message) Adds a notification to the queuevoid
Recursively processes the notifications in the queue until it's empty
-
Field Details
-
NOTIFICATION_DURATION
public static final int NOTIFICATION_DURATION- See Also:
-
-
Constructor Details
-
NotificationLoader
public NotificationLoader(javafx.stage.Stage notificationStage)
-
-
Method Details
-
addNotification
Adds a notification to the queue- Throws:
IOException
-
processNotifications
Recursively processes the notifications in the queue until it's empty- Throws:
IOException
-