diff options
Diffstat (limited to 'pokemod/CoinListObject.cpp')
| -rw-r--r-- | pokemod/CoinListObject.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pokemod/CoinListObject.cpp b/pokemod/CoinListObject.cpp index 53cf1b19..cc110a8e 100644 --- a/pokemod/CoinListObject.cpp +++ b/pokemod/CoinListObject.cpp @@ -20,6 +20,12 @@ const QStringList CoinListObject::TypeStr = QStringList() << "Item" << "Pokémon"; +CoinListObject::CoinListObject(const CoinListObject& object) : + Object("CoinListObject", object.pokemod(), object.id()) +{ + *this = object; +} + CoinListObject::CoinListObject(const Pokemod* pokemod, const int id) : Object("CoinListObject", pokemod, id), m_type(Item), @@ -29,13 +35,13 @@ CoinListObject::CoinListObject(const Pokemod* pokemod, const int id) : { } -CoinListObject::CoinListObject(const Pokemod* pokemod, const CoinListObject& object, const int id) : +CoinListObject::CoinListObject(const CoinListObject& object, const Pokemod* pokemod, const int id) : Object("CoinListObject", pokemod, id) { *this = object; } -CoinListObject::CoinListObject(const Pokemod* pokemod, const QDomElement& xml, const int id) : +CoinListObject::CoinListObject(const QDomElement& xml, const Pokemod* pokemod, const int id) : Object("CoinListObject", pokemod, id) { load(xml, id); |
