public void mouseDragged(MouseEvent e) {
		if (buttonSelected == null || buttonSelected == ButtonSelected.DRAW_TRIANGLE)
			return;
		if (buttonSelected == ButtonSelected.SELECT) {
			if (handlesSelected) {	// resizing shape
				createOrUpdateShape(e, Action.UPDATE_SELECTED, anchor);
				handleManager.createOutline(shapeManager.getSelectedShape());
				System.out.println(anchor.x + " " + anchor.y);
			}
			else if (handleManager.isSomethingSelected()) {	// dragging shape
				System.out.println("shifting..");
				int xShift = e.getX() - pointClicked.x;
				int yShift = e.getY() - pointClicked.y;
				shapeManager.shiftShape(xShift, yShift);
				handleManager.shiftHandles(xShift, yShift);
				GUIFunctions.refresh();
			}
		}
		else {
			if (initializeShape) {
				createOrUpdateShape(e, Action.STARTED_DRAWING, pointClicked);
				initializeShape = false;
			}
			else {
				createOrUpdateShape(e, Action.CURRENTLY_DRAWING, pointClicked);
			}
		}
	}