summaryrefslogtreecommitdiffstats
path: root/sigscript/NatureWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-02-24 16:18:17 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-02-24 16:18:17 -0500
commitb28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67 (patch)
tree01971661209ccb6d6844a096a5ea3d39baeabe68 /sigscript/NatureWrapper.cpp
parentb6d07f0ca14256a42268e69190891c56bf978bd4 (diff)
downloadsigen-b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67.tar.gz
sigen-b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67.tar.xz
sigen-b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67.zip
Moved SigmodWrapper to GameWrapper
Diffstat (limited to 'sigscript/NatureWrapper.cpp')
-rw-r--r--sigscript/NatureWrapper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sigscript/NatureWrapper.cpp b/sigscript/NatureWrapper.cpp
index 57b0635a..f7b7af56 100644
--- a/sigscript/NatureWrapper.cpp
+++ b/sigscript/NatureWrapper.cpp
@@ -19,12 +19,12 @@
#include "NatureWrapper.h"
// Sigscript includes
-#include "SigmodWrapper.h"
+#include "GameWrapper.h"
// Sigmod includes
#include <sigmod/Nature.h>
-Sigscript::NatureWrapper* Sigscript::NatureWrapper::create(const Sigmod::Nature* nature, SigmodWrapper* parent)
+Sigscript::NatureWrapper* Sigscript::NatureWrapper::create(const Sigmod::Nature* nature, GameWrapper* parent)
{
Signature sig = Signature(parent, Subsignature(nature->className(), nature->id()));
if (!m_instances.contains(sig))
@@ -32,7 +32,7 @@ Sigscript::NatureWrapper* Sigscript::NatureWrapper::create(const Sigmod::Nature*
return qobject_cast<NatureWrapper*>(m_instances[sig]);
}
-Sigscript::NatureWrapper::NatureWrapper(const Sigmod::Nature* nature, SigmodWrapper* parent) :
+Sigscript::NatureWrapper::NatureWrapper(const Sigmod::Nature* nature, GameWrapper* parent) :
ObjectWrapper(nature, parent),
m_nature(nature)
{