diff options
Diffstat (limited to 'sigscript/ObjectWrapper.cpp')
| -rw-r--r-- | sigscript/ObjectWrapper.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sigscript/ObjectWrapper.cpp b/sigscript/ObjectWrapper.cpp index fe656874..2e36dec1 100644 --- a/sigscript/ObjectWrapper.cpp +++ b/sigscript/ObjectWrapper.cpp @@ -19,11 +19,11 @@ #include "ObjectWrapper.h" // Sigscript includes -#include "SigmodWrapper.h" +#include "GameWrapper.h" // Sigmod includes +#include <sigmod/Game.h> #include <sigmod/Object.h> -#include <sigmod/Sigmod.h> QMap<Sigscript::ObjectWrapper::Signature, Sigscript::ObjectWrapper*> Sigscript::ObjectWrapper::m_instances; @@ -48,16 +48,16 @@ Sigscript::ObjectWrapper* Sigscript::ObjectWrapper::parent() return m_parent; } -const Sigscript::SigmodWrapper* Sigscript::ObjectWrapper::sigmod() const +const Sigscript::GameWrapper* Sigscript::ObjectWrapper::game() const { if (m_parent) - return m_parent->sigmod(); - return qobject_cast<const SigmodWrapper*>(m_parent); + return m_parent->game(); + return qobject_cast<const GameWrapper*>(m_parent); } -Sigscript::SigmodWrapper* Sigscript::ObjectWrapper::sigmod() +Sigscript::GameWrapper* Sigscript::ObjectWrapper::game() { if (m_parent) - return m_parent->sigmod(); - return qobject_cast<SigmodWrapper*>(m_parent); + return m_parent->game(); + return qobject_cast<GameWrapper*>(m_parent); } |
