private void collision (LinkedList<GameObject> object){
		for (int i=0;i< obbjectHandler.object.size();i++){
			GameObject tempObject = obbjectHandler.object.get(i);
			if(tempObject.getId() == ObjectId.Test){
				if(getBounds().intersects(tempObject.getBounds())){
					y = tempObject.getY()-height;
					velocityY = 0;
					jumping = false;
					falling = false;
				}
				else
					falling = true;
			}		
		}
	}