summaryrefslogtreecommitdiff
path: root/assetFactory/assetFactory.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-03 19:52:55 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-03 19:52:55 +0000
commit5b7f5f2de723d30d3461f653e90fa4ae95941786 (patch)
treedac7ef941f41fcf778e0cd6e5c64e8b5276a87ac /assetFactory/assetFactory.h
parentDon't leak root node when parsing XML (diff)
downloadilt-5b7f5f2de723d30d3461f653e90fa4ae95941786.tar.bz2
ilt-5b7f5f2de723d30d3461f653e90fa4ae95941786.tar.xz
ilt-5b7f5f2de723d30d3461f653e90fa4ae95941786.zip
Split Asset into its own file
Diffstat (limited to 'assetFactory/assetFactory.h')
-rw-r--r--assetFactory/assetFactory.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/assetFactory/assetFactory.h b/assetFactory/assetFactory.h
index 2bd576b..b47d408 100644
--- a/assetFactory/assetFactory.h
+++ b/assetFactory/assetFactory.h
@@ -1,22 +1,9 @@
#pragma once
-#include "factoryMesh.h"
+#include "asset.h"
#include "persistence.h"
#include "shape.h"
#include <filesystem>
-#include <stdTypeDefs.hpp>
-
-class Asset : public Persistence::Persistable, public StdTypeDefs<Asset> {
-public:
- std::string id;
- std::string name;
-
- FactoryMesh::Collection meshes;
-
-private:
- friend Persistence::SelectionPtrBase<std::shared_ptr<Asset>>;
- bool persist(Persistence::PersistenceStore & store) override;
-};
class AssetFactory : public Persistence::Persistable {
public: