public void mouseDragged(MouseEvent arg0) {
		//super.mouseDragged(arg0);
		System.out.println(arg0.getPoint());
		if (pressed) {
			if (superInstance.getDisplayedToolIndex() == 1) {
				superInstance.setStartPoint(arg0.getPoint());
				cover.setStartPoint(arg0.getPoint());
//				superInstance.updateDisplay();
			} else if (superInstance.getDisplayedToolIndex() > 1) {
				superInstance.setEndPoint(arg0.getPoint());
				cover.setEndPoint(arg0.getPoint());
				
			}
			superInstance.updateDisplay();
		}
		
		
	}