38 lines
683 B
Java
38 lines
683 B
Java
package pp.mdga.notification;
|
|
|
|
import pp.mdga.game.Color;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* Notification that a piece is in the game
|
|
*/
|
|
public class PieceInGameNotification extends Notification{
|
|
private Color color;
|
|
private UUID id;
|
|
|
|
/**
|
|
* Constructor
|
|
* @param color the color of the piece
|
|
* @param id the id of the piece
|
|
*/
|
|
PieceInGameNotification(Color color, UUID id) {
|
|
this.color = color;
|
|
this.id = id;
|
|
}
|
|
|
|
/**
|
|
* @return the color of the piece
|
|
*/
|
|
public Color getColor() {
|
|
return null;
|
|
}
|
|
|
|
/**
|
|
* @return the id of the piece
|
|
*/
|
|
public UUID getId() {
|
|
return null;
|
|
}
|
|
}
|