added flag
This commit is contained in:
@@ -39,6 +39,8 @@ public void enter() {
|
|||||||
ArrayList<UUID> ownPieces = new ArrayList<>(possibleOwnPieces.stream().map(Piece::getUuid).toList());
|
ArrayList<UUID> ownPieces = new ArrayList<>(possibleOwnPieces.stream().map(Piece::getUuid).toList());
|
||||||
ArrayList<UUID> enemyPieces = new ArrayList<>(possibleEnemyPieces.stream().map(Piece::getUuid).toList());
|
ArrayList<UUID> enemyPieces = new ArrayList<>(possibleEnemyPieces.stream().map(Piece::getUuid).toList());
|
||||||
logic.addNotification(new SelectableSwapNotification(ownPieces, enemyPieces));
|
logic.addNotification(new SelectableSwapNotification(ownPieces, enemyPieces));
|
||||||
|
possibleOwnPieces = null;
|
||||||
|
possibleEnemyPieces = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user