summaryrefslogtreecommitdiffstats
path: root/sigscript/NatureWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-09-06 04:12:30 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-09-06 04:12:30 +0000
commit0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9 (patch)
treea2031b9d0016fcbd49a51c0d1a2292d1f2d8b566 /sigscript/NatureWrapper.cpp
parentb81f5bffa2772eb9bd3c67fb35485ab1ee2d96e7 (diff)
downloadsigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.gz
sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.xz
sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.zip
[FIX] Renamed everything (in use) away from Poké- prefixes
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@250 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigscript/NatureWrapper.cpp')
-rw-r--r--sigscript/NatureWrapper.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/sigscript/NatureWrapper.cpp b/sigscript/NatureWrapper.cpp
index fa9f1c06..49ca54a3 100644
--- a/sigscript/NatureWrapper.cpp
+++ b/sigscript/NatureWrapper.cpp
@@ -18,33 +18,33 @@
// Header include
#include "NatureWrapper.h"
-// Pokescripting includes
-#include "PokemodWrapper.h"
+// Sigscript includes
+#include "SigmodWrapper.h"
-Pokescripting::NatureWrapper* Pokescripting::NatureWrapper::create(const Pokemod::Nature* nature, PokemodWrapper* parent)
+Sigscript::NatureWrapper* Sigscript::NatureWrapper::create(const Sigmod::Nature* nature, SigmodWrapper* parent)
{
if (!m_instances.contains(Signiture(parent, nature->id())))
m_instances[Signiture(parent, nature->id())] = new NatureWrapper(nature, parent);
return qobject_cast<NatureWrapper*>(m_instances[Signiture(parent, nature->id())]);
}
-Pokescripting::NatureWrapper::NatureWrapper(const Pokemod::Nature* nature, PokemodWrapper* parent) :
+Sigscript::NatureWrapper::NatureWrapper(const Sigmod::Nature* nature, SigmodWrapper* parent) :
ObjectWrapper(nature, parent),
m_nature(nature)
{
}
-QString Pokescripting::NatureWrapper::name() const
+QString Sigscript::NatureWrapper::name() const
{
return m_nature->name();
}
-Pokemod::Fraction Pokescripting::NatureWrapper::stat(const Pokemod::Stat stat) const
+Sigmod::Fraction Sigscript::NatureWrapper::stat(const Sigmod::Stat stat) const
{
return m_nature->stat(stat);
}
-int Pokescripting::NatureWrapper::weight() const
+int Sigscript::NatureWrapper::weight() const
{
return m_nature->weight();
}