Files
Gruppe-01-fin/Projekte/mdga/model/src/main/java/pp.mdga/notification/WaitMoveNotification.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
598 B
Java

package pp.mdga.notification;
import java.util.UUID;
/**
* Notification to inform the player that he has to wait for the other player to move.
*/
public class WaitMoveNotification extends Notification{
private UUID pieceId;
/**
* Constructor.
* @param pieceId the id of the piece that has to move.
*/
public WaitMoveNotification(UUID pieceId) {
this.pieceId = pieceId;
}
/**
* Get the id of the piece that has to move.
* @return the id of the piece that has to move.
*/
public UUID getPieceId() {
return pieceId;
}
}