public void goTo(int x2, int y2) {
		if (draw){
			Graphics2D g = (Graphics2D)image.getGraphics();
			g.setColor(color);
			g.draw(new Line2D.Double(x, y, x2, y2));
		}
		
		if (currentPath != null){
			if (draw){
				currentPath.lineTo(x2, y2);
			} else {
				currentPath.moveTo(x2, y2);
			}
		}
		
		x = x2;
		y = y2;
		
		queueRepaint();
	}