* Draw one of the tile paths which takes one of three forms.
*/
public void drawPath(Graphics2D g2, int pathNumber, TilePlacement tilePlacement,
Point position, double size) {
HexTile tile = tilePlacement.getTile();
int pathStartIndex = getPathStartIndex(tile, pathNumber);
int i = pathStartIndex + 1;
PathColor pathColor = tile.getEdgeColor(pathStartIndex);
while (pathColor != tile.getEdgeColor(i++)) {
assert(i<6): "Should never exceed 6";
}
int pathEndIndex = i-1;
int diff = pathEndIndex - pathStartIndex;