@SuppressWarnings("static-access")
	public void drawHexes(int center, int radius, Graphics2D g, int lineThickness, Color color) {
		this.centerHex.setHexagon(new Hexagon(center, center, radius));
		this.centerHex.getHexagon().setRadius(radius);
		String text=""+this.centerHex.getHexNumber();
		this.centerHex.getHexagon().drawPolygon(g, lineThickness, color, false, text);
		Point previousPoint=centerHex.getHexagon().getCenter();
		Hex centerHex=this.centerHex.getHex(0);
		for (int i=1; i<this.radius; i++){
			if (centerHex.getHexagon()==null){
				previousPoint=centerHex.createHexagon(radius, 0, previousPoint);
			}
			text=""+centerHex.getHexNumber();
			centerHex.getHexagon().drawPolygon(g, lineThickness, color, false, text);
			centerHex=centerHex.getHex(2);
			for (int j=0; j<(i)*6-1; j++){
				int []six=six(j/i);
				if (centerHex.getHexagon()==null){
					previousPoint=centerHex.createHexagon(radius, six[2], previousPoint);
				}
				text=""+centerHex.getHexNumber();
				centerHex.getHexagon().drawPolygon(g, lineThickness, color, false, text);
				centerHex=centerHex.getHex(six[3]);
			}
			centerHex=centerHex.getHex(0);
		}
	}