aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/scripts/ConditionScript.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-06-13 00:24:00 +0200
committer hop311 <hop3114@gmail.com>2024-06-13 00:24:00 +0200
commit4b39e77304094708d5c503b6a221386408cc4409 (patch)
tree7ba5a06714c267185dd3a59aabc6556a105c122f /src/openvic-simulation/scripts/ConditionScript.hpp
parentc0ba822ee46551a40ad6b43e8f56b80e27ae35b5 (diff)
Separated GameManager into Definition and Instance Managersinstance-definition-managers
Diffstat (limited to 'src/openvic-simulation/scripts/ConditionScript.hpp')
-rw-r--r--src/openvic-simulation/scripts/ConditionScript.hpp6
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);