merge development into test #26
@@ -94,14 +94,9 @@ private void handleGame(Notification notification) {
|
|||||||
//InfieldMove
|
//InfieldMove
|
||||||
gameView.getBoardHandler().movePiece(n.getPiece(), n.getStartIndex(), n.getMoveIndex());
|
gameView.getBoardHandler().movePiece(n.getPiece(), n.getStartIndex(), n.getMoveIndex());
|
||||||
}
|
}
|
||||||
} else if (notification instanceof MoveThrowPieceNotification) {
|
|
||||||
MoveThrowPieceNotification n = (MoveThrowPieceNotification)notification;
|
|
||||||
//gameView.getBoardHandler().throwPiece(n.); //TODO
|
|
||||||
} else if (notification instanceof NoShieldNotification) {
|
} else if (notification instanceof NoShieldNotification) {
|
||||||
NoShieldNotification n = (NoShieldNotification)notification;
|
NoShieldNotification n = (NoShieldNotification)notification;
|
||||||
gameView.getBoardHandler().unshieldPiece(n.getPieceId());
|
gameView.getBoardHandler().unshieldPiece(n.getPieceId());
|
||||||
} else if (notification instanceof PieceInGameNotification) {
|
|
||||||
// Handle PieceInGameNotification
|
|
||||||
} else if (notification instanceof PlayCardNotification) {
|
} else if (notification instanceof PlayCardNotification) {
|
||||||
// Handle PlayCardNotification
|
// Handle PlayCardNotification
|
||||||
} else if (notification instanceof PlayerInGameNotification n) {
|
} else if (notification instanceof PlayerInGameNotification n) {
|
||||||
|
|||||||
Reference in New Issue
Block a user