added further notification implemenation

This commit is contained in:
Cedric Beck
2024-11-30 00:33:10 +01:00
parent 13690cf73d
commit 07f0f55192
14 changed files with 164 additions and 60 deletions

View File

@@ -0,0 +1,34 @@
package pp.mdga.notification;
import java.util.List;
import java.util.UUID;
/**
* Notification for selecting pieces for swapcard.
*/
public class SelectableShieldNotification extends Notification{
/**
* List of UUIDs representing the player's own pieces available for selection.
*/
private final List<UUID> ownPieces;
/**
* Constructs a notification for selecting pieces for swapcard.
*
* @param ownPieces the list of the player's own pieces
*/
public SelectableShieldNotification(List<UUID> ownPieces) {
this.ownPieces = ownPieces;
}
/**
* Gets the list of the player's own pieces available for selection.
*
* @return a list of UUIDs representing the player's own pieces
*/
public List<UUID> getOwnPieces() {
return ownPieces;
}
}