if (sym == TileSymmetry.S4) {
List<TilePlacement> options = new ArrayList<>(action.getOptions());
Collections.sort(options);
int size = options.size();
for (int i = 0; i < size; i++) {
TilePlacement tp = options.get(i);
if (i == 0 || !options.get(i-1).getPosition().equals(tp.getPosition())) {
queue.push(new TilePlacementChoice(choice, savePoint, action, tp));
}
}
} else {
for (TilePlacement tp : action.getOptions()) {