public void AddInstructions(IList<InstructionList> listToAdd, string name)
 {
     KeyframeListSave keyframes = new KeyframeListSave();
     foreach (InstructionList instructionList in listToAdd)
     {
         keyframes.AddList(instructionList);
         
     }
     keyframes.Name = name;
     Instructions.Add(keyframes);
 }
Example #2
0
        public void AddInstructions(IList <InstructionList> listToAdd, string name)
        {
            KeyframeListSave keyframes = new KeyframeListSave();

            foreach (InstructionList instructionList in listToAdd)
            {
                keyframes.AddList(instructionList);
            }
            keyframes.Name = name;
            Instructions.Add(keyframes);
        }