Merge branch 'dev/client_beck' into development
# Conflicts: # Projekte/mdga/client/src/main/java/pp/mdga/client/Asset.java # Projekte/mdga/client/src/main/java/pp/mdga/client/InputSynchronizer.java # Projekte/mdga/client/src/main/java/pp/mdga/client/acoustic/AcousticHandler.java # Projekte/mdga/client/src/main/java/pp/mdga/client/acoustic/MdgaSound.java # Projekte/mdga/client/src/main/java/pp/mdga/client/acoustic/SoundAsset.java # Projekte/mdga/client/src/main/java/pp/mdga/client/animation/JetAnimation.java # Projekte/mdga/client/src/main/java/pp/mdga/client/board/BoardHandler.java # Projekte/mdga/model/src/main/java/pp/mdga/client/gamestate/GameStates.java
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package pp.mdga.notification;
|
||||
|
||||
import pp.mdga.game.Color;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
@@ -10,12 +12,14 @@ public class ThrowPieceNotification extends Notification {
|
||||
* The id of the piece that was thrown.
|
||||
*/
|
||||
private final UUID pieceId;
|
||||
private final Color throwColor;
|
||||
|
||||
/**
|
||||
* This constructor is used to create a new ThrowPieceNotification
|
||||
*/
|
||||
public ThrowPieceNotification(UUID pieceId) {
|
||||
public ThrowPieceNotification(UUID pieceId, Color throwColor) {
|
||||
this.pieceId = pieceId;
|
||||
this.throwColor = throwColor;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -26,4 +30,8 @@ public ThrowPieceNotification(UUID pieceId) {
|
||||
public UUID getPieceId() {
|
||||
return pieceId;
|
||||
}
|
||||
|
||||
public Color getThrowColor() {
|
||||
return throwColor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user