summaryrefslogtreecommitdiffstats
path: root/sigscript/SigmodWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-10-17 05:46:40 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-10-17 05:46:40 +0000
commitb3e1495f7a626bb4429ff5e4f3ad39ae9654f23b (patch)
tree8a188df964484e7dcf630e792dccfa1766c2f8f0 /sigscript/SigmodWrapper.cpp
parent47428274a07bce9be5e62f82aeeb7e57aa21037f (diff)
downloadsigen-b3e1495f7a626bb4429ff5e4f3ad39ae9654f23b.tar.gz
sigen-b3e1495f7a626bb4429ff5e4f3ad39ae9654f23b.tar.xz
sigen-b3e1495f7a626bb4429ff5e4f3ad39ae9654f23b.zip
[FIX] Moved Hat, Fraction, Matrix, and Script to sigcore
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@281 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigscript/SigmodWrapper.cpp')
-rw-r--r--sigscript/SigmodWrapper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sigscript/SigmodWrapper.cpp b/sigscript/SigmodWrapper.cpp
index cb70ec64..88969686 100644
--- a/sigscript/SigmodWrapper.cpp
+++ b/sigscript/SigmodWrapper.cpp
@@ -50,9 +50,9 @@ Sigscript::SigmodWrapper::SigmodWrapper(const Sigmod::Sigmod* sigmod) :
{
}
-Sigmod::Hat<Sigscript::NatureWrapper*> Sigscript::SigmodWrapper::natureHat()
+Sigcore::Hat<Sigscript::NatureWrapper*> Sigscript::SigmodWrapper::natureHat()
{
- Sigmod::Hat<NatureWrapper*> hat;
+ Sigcore::Hat<NatureWrapper*> hat;
for (int i = 0; i < m_sigmod->natureCount(); ++i)
{
NatureWrapper* nature = NatureWrapper::create(m_sigmod->nature(i), this);
@@ -234,7 +234,7 @@ Sigscript::MapWarpWrapper* Sigscript::SigmodWrapper::startWarp()
return map(m_sigmod->startMap())->warp(m_sigmod->startWarp());
}
-Sigmod::Fraction Sigscript::SigmodWrapper::effectiveness(const TypeWrapper* attacker, const TypeWrapper* defender) const
+Sigcore::Fraction Sigscript::SigmodWrapper::effectiveness(const TypeWrapper* attacker, const TypeWrapper* defender) const
{
return m_sigmod->typechart(m_sigmod->typeIndex(attacker->id()), m_sigmod->typeIndex(defender->id()));
}