diff options
author | Hop311 <Hop3114@gmail.com> | 2024-06-13 18:59:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-13 18:59:47 +0200 |
commit | bfd539513af435564daf70f94f6cce146dd5c948 (patch) | |
tree | 7ba5a06714c267185dd3a59aabc6556a105c122f /src/openvic-simulation/scripts/ConditionScript.hpp | |
parent | 01a8f60aaca9784d814f4cb35a3fc4be86e1dd20 (diff) | |
parent | 4b39e77304094708d5c503b6a221386408cc4409 (diff) |
Merge pull request #165 from OpenVicProject/instance-definition-managers
Separated GameManager into Definition and Instance Managers
Diffstat (limited to 'src/openvic-simulation/scripts/ConditionScript.hpp')
-rw-r--r-- | src/openvic-simulation/scripts/ConditionScript.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openvic-simulation/scripts/ConditionScript.hpp b/src/openvic-simulation/scripts/ConditionScript.hpp index 4c7d01f..e6ed255 100644 --- a/src/openvic-simulation/scripts/ConditionScript.hpp +++ b/src/openvic-simulation/scripts/ConditionScript.hpp @@ -4,9 +4,9 @@ #include "openvic-simulation/scripts/Script.hpp" namespace OpenVic { - struct GameManager; + struct DefinitionManager; - struct ConditionScript final : Script<GameManager const&> { + struct ConditionScript final : Script<DefinitionManager const&> { private: ConditionNode PROPERTY_REF(condition_root); @@ -15,7 +15,7 @@ namespace OpenVic { scope_t PROPERTY(from_scope); protected: - bool _parse_script(ast::NodeCPtr root, GameManager const& game_manager) override; + bool _parse_script(ast::NodeCPtr root, DefinitionManager const& definition_manager) override; public: ConditionScript(scope_t new_initial_scope, scope_t new_this_scope, scope_t new_from_scope); |