added 4 more Notifications for Model -> View interaction

This commit is contained in:
Hanno Fleischer
2024-11-17 10:39:36 +01:00
parent 0845aa80f9
commit 020aa92cab
4 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
package pp.mdga.notification;
import java.util.UUID;
/**
* This class will be used to hold all ShieldActiveNotification relevant data.
*/
public class ShieldActiveNotification extends Notification{
private UUID pieceId;
/**
* This constructor is used to create a new ShieldActiveNotification
*
* @param pieceId the pieceId
*/
public ShieldActiveNotification(UUID pieceId) {
this.pieceId = pieceId;
}
/**
* This method returns the pieceId
*
* @return the pieceId
*/
public UUID getPieceId() {
return pieceId;
}
}