Example #1
0
 public override void Read(XmlElement os)
 {
     this.Id    = os.GetInt32("Id");
     this.Type  = (ELvlObjType)os.GetInt32("Type");
     this.Pos   = os.GetVector3("Name");
     this.Euler = os.GetVector3("Path");
     this.Scale = os.GetVector3("Scale");
 }
Example #2
0
        public override void Import(DCFG cfg)
        {
            LvlObj data = cfg as LvlObj;

            this.Id    = data.Id;
            this.Type  = data.Type;
            this.Pos   = data.Pos;
            this.Euler = data.Euler;
        }