aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/research/Invention.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/research/Invention.hpp')
-rw-r--r--src/openvic-simulation/research/Invention.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openvic-simulation/research/Invention.hpp b/src/openvic-simulation/research/Invention.hpp
index 2b8100d..43a4e10 100644
--- a/src/openvic-simulation/research/Invention.hpp
+++ b/src/openvic-simulation/research/Invention.hpp
@@ -6,18 +6,18 @@
#include "openvic-simulation/types/OrderedContainers.hpp"
namespace OpenVic {
- struct Unit;
+ struct UnitType;
struct BuildingType;
struct Crime;
- struct UnitManager;
+ struct UnitTypeManager;
struct BuildingTypeManager;
struct CrimeManager;
struct Invention : Modifier {
friend struct InventionManager;
//TODO implement limit and chance
- using unit_set_t = ordered_set<Unit const*>;
+ using unit_set_t = ordered_set<UnitType const*>;
using building_set_t = ordered_set<BuildingType const*>;
using crime_set_t = ordered_set<Crime const*>;
@@ -54,7 +54,7 @@ namespace OpenVic {
);
bool load_inventions_file(
- ModifierManager const& modifier_manager, UnitManager const& unit_manager,
+ ModifierManager const& modifier_manager, UnitTypeManager const& unit_type_manager,
BuildingTypeManager const& building_type_manager, CrimeManager const& crime_manager, ast::NodeCPtr root
); // inventions/*.txt