Exemplo n.º 1
0
        public override void Import(DCFG cfg)
        {
            MapBarrier data = cfg as MapBarrier;

            this.ID   = data.ID;
            this.L    = data.L;
            this.H    = data.H;
            this.W    = data.W;
            this.Pos  = data.Pos;
            this.Face = data.Face;
        }
Exemplo n.º 2
0
        public override DCFG Export()
        {
            MapBarrier data = new MapBarrier();

            data.ID   = this.ID;
            data.L    = this.L;
            data.H    = this.H;
            data.W    = this.W;
            data.Pos  = this.Pos;
            data.Face = this.Face;
            return(data);
        }