Files
Gruppe-01-fin/Projekte/mdga/model/src/main/java/pp.mdga/notification/SelectableShieldNotification.java
2024-11-30 00:33:10 +01:00

35 lines
840 B
Java

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;
}
}