@Override
    public void processMouse(int mouseX, int mouseY, Set<Integer> buttons) {
        if (!isVisible()) return;

        int i = 0;
        hoverIndex = -1;
        for (SeqElixirSprite sprite : seqSpritesToView) {
            if (sprite.contains(mouseX, mouseY)) hoverIndex = i;
            i++;
        }

        if (buttons.contains(MouseEvent.BUTTON1)) {
            clickIndex = hoverIndex;
        }
        else if (clickIndex != -1 && hoverIndex == clickIndex) {
            checkClickedElixir();
            clickIndex = -1;
        }
        else clickIndex = -1;
    }