Example #1
0
        public override void Import(DCFG cfg)
        {
            LvlMachine data = cfg as LvlMachine;

            this.Id    = data.Id;
            this.Pos   = data.Pos;
            this.Euler = data.Euler;
        }
Example #2
0
        public override DCFG Export()
        {
            LvlMachine data = new LvlMachine();

            data.Id    = this.Id;
            data.Pos   = this.Pos;
            data.Euler = this.Euler;
            return(data);
        }