code: private void checkStatePlaying()
      {
          if (!reverse)
          {
              if (repeat)
              {
                  state = AnimState.PLAYING;
                  current = first;
              }
              else
              {
                  state = AnimState.FINISHED;
              }
          }
          else
          {
              state = AnimState.REVERSING;
          }
      }
docs: Check state in playing case.