public void addEndAngle(int x) {
		if(x < 0) {
			if(endAngle == 0)
				endAngle = 359;
			else
				endAngle = endAngle - 1;
		}
		else {
			if(x > 0) {
				if(endAngle == 359)
					endAngle = 0;
				else
					endAngle = endAngle + 1;
			}
		}
	}