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

#include "faceController.h"
#include "modelFactoryMesh_fwd.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;
};