public boolean hasReachedEnd(){
		if(xStartingPos == FrogsterConstants.JPANEL_SIZE - 140){
			if(logRectangle.x + logRectangle.width < 0){
				return true;
			}else{
				return false;
			}
		}else{
			if(logRectangle.x > FrogsterConstants.JPANEL_SIZE){
				return true;
			}else{
				return false;
			}
		}		
	}