src/main/cpp/Commands/BenAutoBounce.cpp
void BenAutoBounce::Execute() 
{
  switch(m_state)
  {
    case 0:
      ProcessState0();
      break;
    case 1:
      ProcessState1();
      break;
    // case 2:
    //   ProcessState2();
    //   break;
    // case 3:
    //   ProcessState3();
    //   break;
    // case 4:
    //   ProcessState4();
    //   break;
    default:
      m_isFinished = true;
      break;
  }
}
// Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
void BenAutoBounce::Execute() 
{
  switch(m_state)
  {
    case 0:
      ProcessState0();
      break;
    case 1:
      ProcessState1();
      break;
    default:
      m_isFinished = true;
      break;
  }
}
void BenAutoBounce :: Execute ( ) { switch ( m_state ) { case 0 : ProcessState0 ( ) ; break ; case 1 : ProcessState1 ( ) ; break ; default : m_isFinished = true ; break ; } }
Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
// case 2: //   ProcessState2(); //   break; // case 3: //   ProcessState3(); //   break; // case 4: //   ProcessState4(); //   break;