@Override
    public void init(GameContainer container, final StateBasedGame game) throws SlickException {
        for (int i = 0; i < buttons.length; i++) {

            final float buttonX = (100 + i * 348);
            final float buttonY = (container.getHeight() - 100);
            final int buttonWidth = 252;
            final int buttonHeight = 63;

            Rectangle buttonContainer = new Rectangle(buttonX, buttonY, buttonWidth, buttonHeight);

            Image buttonImage = null;
            if (i == 0)
                buttonImage = new Image("resources/startgame.png");
            if (i == 1)
                buttonImage = new Image("resources/instructions.png");

            Sound buttonSound = new Sound("resources/crash.wav");

            buttons[i] = new SimpleButton(buttonContainer, buttonImage, buttonImage, buttonSound);

            stickyListener.add(buttons[i]);
        }

        logoImage = new Image("resources/logo.png");

        buttons[0].addListener(new ClickListener() {

            @Override
            public void onClick(Button clicked, float mx, float my) {
                game.enterState(1);
            }

            @Override
            public void onRightClick(Button clicked, float mx, float my) {
            }

            @Override
            public void onDoubleClick(Button clicked, float mx, float my) {
            }
        });

        buttons[1].addListener(new ClickListener() {
            @Override
            public void onClick(Button clicked, float mx, float my) {
                game.enterState(2);
            }

            @Override
            public void onRightClick(Button clicked, float mx, float my) {
            }

            @Override
            public void onDoubleClick(Button clicked, float mx, float my) {
            }
        });

        container.getInput().addListener(stickyListener);
    }