@Override
  public void update() {
    if (this.input.up) {
      selected--;
      this.input.clear();
    }
    if (input.down) {
      selected++;
      this.input.clear();
    }
    if (selected < 0) {
      selected += options.length;
    }
    if (selected >= options.length) {
      selected -= options.length;
    }
    if (input.enter) {
      this.input.clear();
      switch (selected) {
        case 0:
          game.reset();
          game.setMenu(null);
          ambientSound.stop();
          break;
        case 1:
          game.setMenu(new InstructionMenu(this));
          break;
        case 2:
          game.setMenu(new AboutMenu(this));
          return;
        case 3:
          game.setMenu(new CreditsMenu(this));
          return;
      }
    }
  }