added all Notifications for the model view communication

added all required notifications with their content and getter methods.
This commit is contained in:
Hanno Fleischer
2024-11-16 18:58:33 +01:00
parent 6b2d775534
commit 44b623f9fd
23 changed files with 556 additions and 13 deletions

View File

@@ -0,0 +1,27 @@
package pp.mdga.notification;
import pp.mdga.game.Color;
/**
* Class TskSelectNotification
*/
public class TskSelectNotification extends Notification{
private Color color;
/**
* Constructor.
* @param color the color of the player that is in the game.
*/
TskSelectNotification(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;
}
}