26 lines
482 B
Java
26 lines
482 B
Java
package pp.mdga.notification;
|
|
|
|
import pp.mdga.game.Color;
|
|
|
|
/**
|
|
* Notification that a card has been drawn
|
|
*/
|
|
public class InterruptNotification extends Notification {
|
|
|
|
private Color color;
|
|
|
|
/**
|
|
* @param color the color of the player who drew the card
|
|
*/
|
|
InterruptNotification(Color color) {
|
|
this.color = color;
|
|
}
|
|
|
|
/**
|
|
* @return the color of the player who drew the card
|
|
*/
|
|
public Color getColor() {
|
|
return color;
|
|
}
|
|
}
|