public override void Import(DCFG cfg) { LvlMachine data = cfg as LvlMachine; this.Id = data.Id; this.Pos = data.Pos; this.Euler = data.Euler; }
public override DCFG Export() { LvlMachine data = new LvlMachine(); data.Id = this.Id; data.Pos = this.Pos; data.Euler = this.Euler; return(data); }