Files
Gruppe-01-fin/Projekte/mdga/model/src/main/java/pp.mdga/notification/ResumeNotification.java
Hanno Fleischer 44b623f9fd added all Notifications for the model view communication
added all required notifications with their content and getter methods.
2024-11-16 18:58:33 +01:00

28 lines
561 B
Java

package pp.mdga.notification;
import pp.mdga.game.Color;
/**
* Notification that a player is in the game.
*/
public class ResumeNotification extends Notification {
private Color color;
/**
* Constructor.
* @param color the color of the player that is in the game.
*/
ResumeNotification(Color color) {
this.color = color;
}
/**
* Get the color of the player that is in the game.
* @return the color of the player that is in the game.
*/
public Color getColor() {
return color;
}
}