summaryrefslogtreecommitdiff
path: root/assetFactory/asset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/asset.cpp')
-rw-r--r--assetFactory/asset.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/assetFactory/asset.cpp b/assetFactory/asset.cpp
new file mode 100644
index 0000000..fa30a78
--- /dev/null
+++ b/assetFactory/asset.cpp
@@ -0,0 +1,8 @@
+#include "asset.h"
+
+bool
+Asset::persist(Persistence::PersistenceStore & store)
+{
+ return STORE_TYPE && STORE_MEMBER(id) && STORE_MEMBER(name)
+ && STORE_NAME_HELPER("mesh", meshes, Persistence::Appender<FactoryMesh::Collection>);
+}