/**
* @return list of all the legal placements for the specified tile.
*/
private TilePlacementList findPlacementsForTile(HexTile tile) {
TilePlacementList placements = new TilePlacementList();
TantrixTileFitter fitter =
new TantrixTileFitter(board.getTantrix(), board.getPrimaryColor());
for (Location loc : borderSpaces) {
TilePlacementList validFits = fitter.getFittingPlacements(tile, loc);
placements.addAll(validFits);
}
return placements;
}