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