Пример #1
0
        public override void Load(SerializationReader SR)
        {
            base.Load(SR);
            SR.ReadStartElement();
            int version = SR.ReadVersion();

            switch (version)
            {
            case 0:
            {
                //string ai = SR.ReadString();
                //if (ai != "") AI = Info.Instance(ai) as AI;
                Body_Stand = SR.ReadBodyJSON();
                Body_Move  = SR.ReadBodyJSON();
                Body_Jump  = SR.ReadBodyJSON();

                break;
            }
            }

            SR.ReadEndElement();
        }