Files
Gruppe-01-fin/Projekte/mdga/model/src/main/java/pp.mdga/notification/InterruptNotification.java
2024-11-17 12:01:00 +01:00

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