private void checkPaddles(Paddle left, Paddle right) {
		
		int edgeOfPaddle = left.getCoordinates()[0] + left.getWidth();
		// if ball is to the left of left paddle in relation to X-position...
		if(coordinates[0] + deltaX <= edgeOfPaddle && coordinates[0] + 2*radius + deltaX >= left.getCoordinates()[0]) {
			int leftY = left.getCoordinates()[1];
			// ... then check if it is hitting the paddle or not
			if(coordinates[1] <= leftY + left.getHeight() && coordinates[1] + 2*radius >= leftY) {
				coordinates[0] = edgeOfPaddle;
				float angle = getAngleFromPaddle(left);
				deltaY = (float) (ballSpeed*Math.sin(angle));
				deltaX = (float) (ballSpeed*Math.cos(angle));
			}
		}
		edgeOfPaddle = right.getCoordinates()[0];
		// if ball is to the right of right paddle in relation to X-position...
		if(coordinates[0] + 2*radius + deltaX >= edgeOfPaddle && coordinates[0] + deltaX <= edgeOfPaddle + right.getWidth()) {
			int rightY = right.getCoordinates()[1];
			// ... then check if it is hitting the paddle or not
			if(coordinates[1] <= rightY + right.getHeight() && coordinates[1] + 2*radius >= rightY) {
				coordinates[0] = edgeOfPaddle - 2*radius;
				float angle = getAngleFromPaddle(right);
				deltaY = (float) (ballSpeed*Math.sin(angle));
				deltaX = (float) (-ballSpeed*Math.cos(angle));
			}
		}
	}