diff options
Diffstat (limited to 'sigmod/MapWildList.cpp')
| -rw-r--r-- | sigmod/MapWildList.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sigmod/MapWildList.cpp b/sigmod/MapWildList.cpp index 1a385632..2b0ca266 100644 --- a/sigmod/MapWildList.cpp +++ b/sigmod/MapWildList.cpp @@ -85,15 +85,11 @@ QDomElement Sigmod::MapWildList::save() const return xml; } -void Sigmod::MapWildList::setName(const QString& name) -{ - CHECK(name); -} +SETTER(MapWildList, QString&, Name, name) -QString Sigmod::MapWildList::name() const -{ - return m_name; -} +GETTER(MapWildList, QString, name) + +CHECK(MapWildList, QString&, name) const Sigmod::MapWildListEncounter* Sigmod::MapWildList::encounter(const int index) const { |
