public void tick() {
        if (items.size() > 0) {
            if (player.input.up && moveTimer <= 0) {
                selected--;
                moveTimer = 12;
            }
            if (player.input.down && moveTimer <= 0) {
                selected++;
                moveTimer = 12;
            }
            if (selected < 0) selected = items.size() - 1;
            if (selected >= items.size()) selected = 0;
        }

        if (moveTimer > 0) moveTimer--;
    }