Beispiel #1
0
        public Recording(StreamReader sr) : this()
        {
            var first = sr.ReadLine(); // start

            if (first.Equals(EMPTY))
            {
                return;
            }

            string line = sr.ReadLine();

            while (!line.Equals(END))
            {
                Keyframe k = Keyframe.Build(line, this);
                Keyframes.AddLast(k);
                line = sr.ReadLine();
            }
        }