diff options
Diffstat (limited to 'sigscript/NatureWrapper.cpp')
| -rw-r--r-- | sigscript/NatureWrapper.cpp | 14 |
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(); } |
