@Override
    public void update(GameContainer gc, StateBasedGame sb, float delta) {
        for (Component component : components) {
            try {
                component.update(gc, sb, delta);
            } catch (SlickException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }

    }