28 lines
564 B
Java
28 lines
564 B
Java
package pp.mdga.notification;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* Notification that is sent when a card is acquired.
|
|
*/
|
|
public class AcquireCardNotification extends Notification{
|
|
|
|
private UUID cardId;
|
|
|
|
/**
|
|
* Constructor.
|
|
* @param cardId The id of the card that was acquired.
|
|
*/
|
|
public AcquireCardNotification(UUID cardId) {
|
|
this.cardId = cardId;
|
|
}
|
|
|
|
/**
|
|
* Get the id of the card that was acquired.
|
|
* @return The id of the card that was acquired.
|
|
*/
|
|
public UUID getCardId() {
|
|
return cardId;
|
|
}
|
|
}
|