summaryrefslogtreecommitdiff
path: root/assetFactory/asset.h
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/asset.h')
-rw-r--r--assetFactory/asset.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/assetFactory/asset.h b/assetFactory/asset.h
new file mode 100644
index 0000000..d86b804
--- /dev/null
+++ b/assetFactory/asset.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "factoryMesh.h"
+#include "persistence.h"
+#include <stdTypeDefs.hpp>
+
+class Asset : public Persistence::Persistable, public StdTypeDefs<Asset> {
+public:
+ std::string id;
+ std::string name;
+
+ FactoryMesh::Collection meshes;
+
+protected:
+ friend Persistence::SelectionPtrBase<std::shared_ptr<Asset>>;
+ bool persist(Persistence::PersistenceStore & store) override;
+};