@Override
    public void update(GameContainer gc, StateBasedGame sb, float delta) {
        if(this.position.y > SCREEN_HEIGHT - BOTTOM_GUI_HEIGHT - BIRD_HEIGHT || this.position.y < 0 + GUI_HEIGHT + BIRD_HEIGHT){
            this.velocity.y*=-1;
        }
        this.updatePosition(delta);
    }