-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPrefab.h
33 lines (26 loc) · 989 Bytes
/
Prefab.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef _PREFAB_H_
#define _PREFAB_H_
// Includes
#include <vector>
#include "Model.h"
#include "Material.h"
////////////////////////////////////////////////////////////////////////////////
/// @class Class for planet prefabs to be generated from
class Prefab {
public:
////////////////////////////////////////////////////////////////////////////
/// @brief Constructor
Prefab();
////////////////////////////////////////////////////////////////////////////
/// @brief Setup and read in data
void Initialize(const string location);
////////////////////////////////////////////////////////////////////////////
/// @brief Returns random model for prefab
Model getModel();
private:
std::vector<unique_ptr<Model>> models; //< Models for possible planets
std::vector<unique_ptr<Material>> materials; //< List for materials
//< File for weights of different models and materials
string location; //< Folder with prefab data
};
#endif