public void rotate(double rotateX, double rotateY, double angle){
		
		double xFromOrigin = x - rotateX;
		double yFromOrigin = y - rotateY;
		
		angle *= -1;
		
		double rotatedX = (xFromOrigin * Math.cos(angle)) - (yFromOrigin * Math.sin(angle)); 
		double rotatedY = (xFromOrigin * Math.sin(angle)) + (yFromOrigin * Math.cos(angle));
		
		x = rotatedX + rotateX;
		y = rotatedY + rotateY;
	}