diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-10-17 05:46:40 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-10-17 05:46:40 +0000 |
| commit | b3e1495f7a626bb4429ff5e4f3ad39ae9654f23b (patch) | |
| tree | 8a188df964484e7dcf630e792dccfa1766c2f8f0 /sigmod/Badge.cpp | |
| parent | 47428274a07bce9be5e62f82aeeb7e57aa21037f (diff) | |
[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 'sigmod/Badge.cpp')
| -rw-r--r-- | sigmod/Badge.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sigmod/Badge.cpp b/sigmod/Badge.cpp index 8a050520..d70833ca 100644 --- a/sigmod/Badge.cpp +++ b/sigmod/Badge.cpp @@ -126,7 +126,7 @@ void Sigmod::Badge::setObey(const int obey) CHECK(obey); } -void Sigmod::Badge::setStat(const Stat stat, const Fraction& multiplier) +void Sigmod::Badge::setStat(const Stat stat, const Sigcore::Fraction& multiplier) { if (multiplier < 1) { @@ -146,7 +146,7 @@ void Sigmod::Badge::setStat(const Stat stat, const Fraction& multiplier) CHECK_ARRAY(stat[stat - ST_Attack], multiplier); } -void Sigmod::Badge::setStat(const Fraction& multiplier) +void Sigmod::Badge::setStat(const Sigcore::Fraction& multiplier) { if (multiplier < 1) emit(error(bounds("stat multiplier"))); @@ -172,7 +172,7 @@ int Sigmod::Badge::obey() const return m_obey; } -Sigmod::Fraction Sigmod::Badge::stat(const Stat stat) const +Sigcore::Fraction Sigmod::Badge::stat(const Stat stat) const { switch (stat) { @@ -182,7 +182,7 @@ Sigmod::Fraction Sigmod::Badge::stat(const Stat stat) const return m_stat[stat - ST_Attack]; default: emit(warning(bounds("stat"))); - return Fraction(); + return Sigcore::Fraction(); } } |
