diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 16:18:17 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 16:18:17 -0500 |
| commit | b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67 (patch) | |
| tree | 01971661209ccb6d6844a096a5ea3d39baeabe68 /sigscript/RulesWrapper.cpp | |
| parent | b6d07f0ca14256a42268e69190891c56bf978bd4 (diff) | |
| download | sigen-b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67.tar.gz sigen-b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67.tar.xz sigen-b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67.zip | |
Moved SigmodWrapper to GameWrapper
Diffstat (limited to 'sigscript/RulesWrapper.cpp')
| -rw-r--r-- | sigscript/RulesWrapper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sigscript/RulesWrapper.cpp b/sigscript/RulesWrapper.cpp index bd979667..26f95bb2 100644 --- a/sigscript/RulesWrapper.cpp +++ b/sigscript/RulesWrapper.cpp @@ -19,12 +19,12 @@ #include "RulesWrapper.h" // Sigscript includes -#include "SigmodWrapper.h" +#include "GameWrapper.h" // Sigmod includes #include <sigmod/Rules.h> -Sigscript::RulesWrapper* Sigscript::RulesWrapper::create(const Sigmod::Rules* rules, SigmodWrapper* parent) +Sigscript::RulesWrapper* Sigscript::RulesWrapper::create(const Sigmod::Rules* rules, GameWrapper* parent) { Signature sig = Signature(parent, Subsignature(rules->className(), rules->id())); if (!m_instances.contains(sig)) @@ -32,7 +32,7 @@ Sigscript::RulesWrapper* Sigscript::RulesWrapper::create(const Sigmod::Rules* ru return qobject_cast<RulesWrapper*>(m_instances[sig]); } -Sigscript::RulesWrapper::RulesWrapper(const Sigmod::Rules* rules, SigmodWrapper* parent) : +Sigscript::RulesWrapper::RulesWrapper(const Sigmod::Rules* rules, GameWrapper* parent) : ObjectWrapper(rules, parent), m_rules(rules) { |
