Пример #1
0
 public void Set(int index, AngleDistanceMove move, bool allowExtending)
 {
     if (index < 0)
     {
         return;
     }
     if (index + 1 >= m_values.Count)
     {
         if (!allowExtending)
         {
             return;
         }
         for (int i = m_values.Count - 1; i < index; i++)
         {
             m_values.Add(new AngleDistanceMove());
         }
     }
     m_values[index] = move;
 }
Пример #2
0
 public void Add(AngleDistanceMove move)
 {
     m_values.Add(move);
 }