protected VmfObject(IMapObject obj) { ID = obj.ID; Editor = new VmfEditor(obj); }
protected VmfObject(SerialisedObject obj) { ID = obj.Get("id", 0L); Editor = new VmfEditor(obj.Children.FirstOrDefault(x => x.Name == "editor")); }