Pop-Engine/Pop Engine/Production.h

24 lines
361 B
C
Raw Permalink Normal View History

2019-08-12 16:25:03 +00:00
#pragma once
#include <memory>
#include <vector>
#include <string>
using namespace std;
class Production
{
public:
2019-08-22 15:56:53 +00:00
float get_value(void);
string get_name(void);
2019-08-12 16:25:03 +00:00
private:
2019-08-12 16:52:11 +00:00
// Raw material to make this production.
2019-08-12 16:25:03 +00:00
vector<shared_ptr<Production>> material;
2019-08-12 16:52:11 +00:00
// Base value of this prodution.
2019-08-12 16:25:03 +00:00
float value;
2019-08-12 16:52:11 +00:00
// Name of this production.
2019-08-12 16:25:03 +00:00
string name;
};