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