public void Add(Animation a)
        {
            a.Scene = Scene;
            a.Initialize();
            a.Start();

            Animations.Add(a);
        }
예제 #2
0
 public void Add(Animation animation)
 {
     Animations.Add(animation);
 }
 // ark
 public void Remove(Animation a)
 {
     for (int i = 0; i < Animations.Count; i++)
     {
         if (Animations[i] == a)
         {
             Animations.RemoveAt(i);
             break;
         }
     }
 }