summaryrefslogtreecommitdiff
path: root/assetFactory/use.h
blob: 4bfce9787d6771bdf60acf74df04cb1f5c9070bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "assetFactoryConfig_fwd.h"
#include "faceController.h"
#include "shape.h"
#include "stdTypeDefs.hpp"

class Use : public StdTypeDefs<Use>, public Mutation {
public:
	using FaceControllers = std::map<std::string, FaceController>;

	Shape::CreatedFaces createMesh(ModelFactoryMesh & mesh, const Mutation::Matrix & mutation) const;

	Shape::CPtr type;
	std::string colour;
	FaceControllers faceControllers;
};