35 lines
840 B
Java
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;
|
|
}
|
|
}
|