public boolean banditUpdate(double deltaSec)
  {
    this.requestFocus();

    if (state != BanditState.DONE)
    {
      if (state == BanditState.IDLE)
      {
        if (controller.isPlayerPressingESC())
        {
          state = BanditState.EXIT;
          running = false;
        }
        else
        {
          if (controller.getPlayerInputDirectionVector().x != 0)
          {
            if (controller.getPlayerInputDirectionVector().x > 0)
            {
              selected = 1;
            }
            else
            {
              selected = 0;
            }
          }
          else if (controller.isPlayerPressingButton())
          {
            nextEvent();
          }
        }
      }
    }
    else
    {
      if (controller.isPlayerPressingESC() || controller.isPlayerPressingButton())
      {
        running = false;
      }
    }

    animate(deltaSec);

    return running;
  }