summaryrefslogtreecommitdiffstats
path: root/sigscript/MapEffectWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/MapEffectWrapper.cpp')
-rw-r--r--sigscript/MapEffectWrapper.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/sigscript/MapEffectWrapper.cpp b/sigscript/MapEffectWrapper.cpp
index ac1d7c41..f1d135c8 100644
--- a/sigscript/MapEffectWrapper.cpp
+++ b/sigscript/MapEffectWrapper.cpp
@@ -18,48 +18,48 @@
// Header include
#include "MapEffectWrapper.h"
-// Pokescripting includes
+// Sigscript includes
#include "MapWrapper.h"
-#include "PokemodWrapper.h"
+#include "SigmodWrapper.h"
-Pokescripting::MapEffectWrapper* Pokescripting::MapEffectWrapper::create(const Pokemod::MapEffect* effect, MapWrapper* parent)
+Sigscript::MapEffectWrapper* Sigscript::MapEffectWrapper::create(const Sigmod::MapEffect* effect, MapWrapper* parent)
{
if (!m_instances.contains(Signiture(parent, effect->id())))
m_instances[Signiture(parent, effect->id())] = new MapEffectWrapper(effect, parent);
return qobject_cast<MapEffectWrapper*>(m_instances[Signiture(parent, effect->id())]);
}
-Pokescripting::MapEffectWrapper::MapEffectWrapper(const Pokemod::MapEffect* effect, MapWrapper* parent) :
+Sigscript::MapEffectWrapper::MapEffectWrapper(const Sigmod::MapEffect* effect, MapWrapper* parent) :
ObjectWrapper(effect, parent),
m_effect(effect)
{
}
-QString Pokescripting::MapEffectWrapper::name() const
+QString Sigscript::MapEffectWrapper::name() const
{
return m_effect->name();
}
-QPoint Pokescripting::MapEffectWrapper::coordinate() const
+QPoint Sigscript::MapEffectWrapper::coordinate() const
{
if (value("coordinate").canConvert<QPoint>())
return value("coordinate").toPoint();
return m_effect->coordinate();
}
-Pokescripting::SkinWrapper* Pokescripting::MapEffectWrapper::skin()
+Sigscript::SkinWrapper* Sigscript::MapEffectWrapper::skin()
{
- return pokemod()->skin(m_effect->skin());
+ return sigmod()->skin(m_effect->skin());
}
-bool Pokescripting::MapEffectWrapper::isGhost() const
+bool Sigscript::MapEffectWrapper::isGhost() const
{
if (value("ghost").canConvert<bool>())
return value("ghost").toBool();
return m_effect->isGhost();
}
-Pokemod::Script Pokescripting::MapEffectWrapper::script() const
+Sigmod::Script Sigscript::MapEffectWrapper::script() const
{
return m_effect->script();
}