@Override
	public void checkFunctional() {
		for (LevelSegment seg : _holes) {
			Vector4D distance  = new Vector4(_ball.getPosition());
			distance.substract(seg.getPosition());
			distance.setY(0);
			if (distance.length() < _holeRadius) {
				_ball.setXScaleSpeed(-1);
				_ball.setZScaleSpeed(-0.5);	
			}
		}
		
		Vector4D distance  = new Vector4(_ball.getPosition());
		distance.substract(_endPoint.getPosition());
		distance.setY(0);
		if (distance.length() < _holeRadius) {
			Application.getGame().setGameSpeed(0);
			setLevelState(COMPLETED);
		}
	}