28 lines
561 B
Java
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;
|
|
}
|
|
}
|