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()) {
queue.push(new TilePlacementChoice(choice, savePoint, action, tp));
}
}
}