summaryrefslogtreecommitdiffstats
path: root/sigscript/MapWildListWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/MapWildListWrapper.cpp')
-rw-r--r--sigscript/MapWildListWrapper.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/sigscript/MapWildListWrapper.cpp b/sigscript/MapWildListWrapper.cpp
index 3b725b34..f00442da 100644
--- a/sigscript/MapWildListWrapper.cpp
+++ b/sigscript/MapWildListWrapper.cpp
@@ -18,42 +18,42 @@
// Header include
#include "MapWildListWrapper.h"
-// Pokescripting includes
+// Sigscript includes
#include "MapWrapper.h"
#include "MapWildListEncounterWrapper.h"
-Pokescripting::MapWildListWrapper* Pokescripting::MapWildListWrapper::create(const Pokemod::MapWildList* wildList, MapWrapper* parent)
+Sigscript::MapWildListWrapper* Sigscript::MapWildListWrapper::create(const Sigmod::MapWildList* wildList, MapWrapper* parent)
{
if (!m_instances.contains(Signiture(parent, wildList->id())))
m_instances[Signiture(parent, wildList->id())] = new MapWildListWrapper(wildList, parent);
return qobject_cast<MapWildListWrapper*>(m_instances[Signiture(parent, wildList->id())]);
}
-Pokescripting::MapWildListWrapper::MapWildListWrapper(const Pokemod::MapWildList* wildList, MapWrapper* parent) :
+Sigscript::MapWildListWrapper::MapWildListWrapper(const Sigmod::MapWildList* wildList, MapWrapper* parent) :
ObjectWrapper(wildList, parent),
m_wildList(wildList)
{
}
-Pokemod::Hat<Pokescripting::MapWildListEncounterWrapper*> Pokescripting::MapWildListWrapper::encounterHat()
+Sigmod::Hat<Sigscript::MapWildListEncounterWrapper*> Sigscript::MapWildListWrapper::encounterHat()
{
- Pokemod::Hat<MapWildListEncounterWrapper*> hat;
+ Sigmod::Hat<MapWildListEncounterWrapper*> hat;
for (int i = 0; i < encounterCount(); ++i)
hat.add(encounter(i), encounter(i)->weight());
return hat;
}
-QString Pokescripting::MapWildListWrapper::name() const
+QString Sigscript::MapWildListWrapper::name() const
{
return m_wildList->name();
}
-Pokescripting::MapWildListEncounterWrapper* Pokescripting::MapWildListWrapper::encounter(const int index)
+Sigscript::MapWildListEncounterWrapper* Sigscript::MapWildListWrapper::encounter(const int index)
{
return MapWildListEncounterWrapper::create(m_wildList->encounter(index), this);
}
-int Pokescripting::MapWildListWrapper::encounterCount() const
+int Sigscript::MapWildListWrapper::encounterCount() const
{
return m_wildList->encounterCount();
}