#include <trade.hpp>
|
std::vector< ProvinceId > | cost_eval |
| Cost-evaluatable provinces, we discard sea and ocean provinces from this formula to save space and time since commodities directly transport to the land provinces. More...
|
|
std::vector< std::vector< float > > | trade_costs |
|
Definition at line 34 of file trade.hpp.
◆ get_trade_cost()
float Trade::get_trade_cost |
( |
const Province & |
province1, |
|
|
const Province & |
province2, |
|
|
glm::vec2 |
world_size |
|
) |
| const |
◆ recalculate()
void Trade::recalculate |
( |
const World & |
world | ) |
|
Do this for now
Do costly right now
Definition at line 38 of file trade.cpp.
◆ cost_eval
Cost-evaluatable provinces, we discard sea and ocean provinces from this formula to save space and time since commodities directly transport to the land provinces.
Definition at line 52 of file trade.hpp.
◆ trade_costs
std::vector<std::vector<float> > Economy::Trade::trade_costs |
The documentation for this struct was generated from the following files: