28 lines
561 B
Java
28 lines
561 B
Java
package pp.mdga.notification;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* Notification that a piece has no shield.
|
|
*/
|
|
public class NoShieldNotification extends Notification{
|
|
|
|
private UUID pieceId;
|
|
|
|
/**
|
|
* Constructor.
|
|
* @param pieceId the id of the piece that has no shield.
|
|
*/
|
|
public NoShieldNotification(UUID pieceId) {
|
|
this.pieceId = pieceId;
|
|
}
|
|
|
|
/**
|
|
* Get the id of the piece that has no shield.
|
|
* @return the id of the piece that has no shield.
|
|
*/
|
|
public UUID getPieceId() {
|
|
return pieceId;
|
|
}
|
|
}
|