up method

void up()

Move up in this menu.

Implementation

void up() {
  final pos = position;
  if (pos == null) {
    return;
  } else if (pos == 0) {
    position = null;
  } else {
    position = pos - 1;
  }
  itemRumbleEffect?.dispatch(game);
  showCurrentItem();
}