2019-08-12 16:52:11 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "Production.h"
|
|
|
|
|
2019-08-22 15:56:53 +00:00
|
|
|
class Market;
|
|
|
|
|
|
|
|
class Population;
|
|
|
|
|
2019-08-12 16:52:11 +00:00
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
class Land
|
|
|
|
{
|
|
|
|
public:
|
2019-08-22 15:56:53 +00:00
|
|
|
shared_ptr<Market> get_market(void);
|
2019-08-12 16:52:11 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
vector<unique_ptr<Population>> pops;
|
|
|
|
shared_ptr<Market> mkt;
|
|
|
|
vector<shared_ptr<Production>> pdts;
|
|
|
|
float max_pop;
|
|
|
|
string name;
|
|
|
|
};
|
|
|
|
|