Ejemplo n.º 1
0
 public void Advance()
 {
     if (playingBack)
     {
         dataIndex++;
         if (dataIndex > data.GetIndex())
         {
             dataIndex = -2;
             playbackIndex++;
             if (playbackIndex >= records.Count)
             {
                 playbackIndex = records.Count - 1;
             }
         }
     }
 }