summaryrefslogtreecommitdiff
path: root/assetFactory/asset.h
blob: d86b80411f1c639612edb1aa790c5f84cb11388e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
};