public void move(Dimension bounds) {
		int diameter = Math.min(bounds.width, bounds.height);
		double Xcoord = Math.cos(2 * Math.PI * diameter / 2) + diameter / 2;
		double Ycoord = Math.sin(2 * Math.PI * diameter / 2) + diameter / 2;
		
		if (myCenter.x > Xcoord && myCenter.y > Ycoord) {
			direction = 225;
		}
		if (myCenter.x < Xcoord && myCenter.y > Ycoord) {
			direction = 315;
		}
		if (myCenter.x > Xcoord && myCenter.y < Ycoord) {
			direction = 135;
		}
		if (myCenter.x < Xcoord && myCenter.y < Ycoord) {
			direction = 45;
		}
		super.move(bounds);
	}