Esempio n. 1
0
    public void Load(XmlElement data)
    {
        List <Keyframe> newKeyframes = new List <Keyframe>();

        foreach (XmlElement element in data.ChildNodes)
        {
            Keyframe newKeyframe = Keyframe.FromXml(element);
            newKeyframes.Add(newKeyframe);
        }
        keyframes = newKeyframes;
    }