diff options
Diffstat (limited to 'sigmod/Sigmod.cpp')
| -rw-r--r-- | sigmod/Sigmod.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sigmod/Sigmod.cpp b/sigmod/Sigmod.cpp index 5d143173..11915177 100644 --- a/sigmod/Sigmod.cpp +++ b/sigmod/Sigmod.cpp @@ -389,7 +389,7 @@ void Sigmod::Sigmod::setStartWarp(const int startWarp) CHECK(startWarp); } -void Sigmod::Sigmod::setTypechart(const int attack, const int defense, const Fraction& multiplier) +void Sigmod::Sigmod::setTypechart(const int attack, const int defense, const Sigcore::Fraction& multiplier) { CHECK_ARRAY(typechart(attack, defense), multiplier); } @@ -434,17 +434,17 @@ int Sigmod::Sigmod::startWarp() const return m_startWarp; } -const Sigmod::Matrix<Sigmod::Fraction>* Sigmod::Sigmod::typechart() const +const Sigcore::Matrix<Sigcore::Fraction>* Sigmod::Sigmod::typechart() const { return &m_typechart; } -Sigmod::Matrix<Sigmod::Fraction>* Sigmod::Sigmod::typechart() +Sigcore::Matrix<Sigcore::Fraction>* Sigmod::Sigmod::typechart() { return &m_typechart; } -Sigmod::Fraction Sigmod::Sigmod::typechart(const int attack, const int defense) const +Sigcore::Fraction Sigmod::Sigmod::typechart(const int attack, const int defense) const { return m_typechart(attack, defense); } @@ -2074,7 +2074,7 @@ Sigmod::Type* Sigmod::Sigmod::newType(const Type& type) Sigmod::Type* Sigmod::Sigmod::newType(Type* type) { m_types.append(type); - m_typechart.resize(typeCount(), typeCount(), Fraction(1, 1)); + m_typechart.resize(typeCount(), typeCount(), Sigcore::Fraction(1, 1)); return type; } @@ -2083,7 +2083,7 @@ void Sigmod::Sigmod::deleteType(const int index) Q_ASSERT(index < typeCount()); delete m_types[index]; m_types.removeAt(index); - m_typechart.resize(typeCount(), typeCount(), Fraction(1, 1)); + m_typechart.resize(typeCount(), typeCount(), Sigcore::Fraction(1, 1)); } void Sigmod::Sigmod::deleteTypeById(const int id) |
