added all Notifications for the model view communication
added all required notifications with their content and getter methods.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user