public void gravity(Collection<GameObject> objects){
        for(GameObject gameObject : objects){
            if(gameObject.getEffectedByGravity()){
                applyForce(gameObject, 0, 1);
            }
        }
    }