diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-03 18:59:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-03 19:03:30 +0300 |
commit | 98db78be9552b039090ce5dfc53803df2dd54b41 (patch) | |
tree | efda1a43723e8e11e075dcfef2776fe38c7cb3da /src/resources/iteminfo.h | |
parent | d7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff) | |
download | ManaVerse-98db78be9552b039090ce5dfc53803df2dd54b41.tar.gz ManaVerse-98db78be9552b039090ce5dfc53803df2dd54b41.tar.bz2 ManaVerse-98db78be9552b039090ce5dfc53803df2dd54b41.tar.xz ManaVerse-98db78be9552b039090ce5dfc53803df2dd54b41.zip |
Add some missing getters.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 8c5e2dd8f..5f789663f 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -148,7 +148,8 @@ class ItemInfo void setEffect(const std::string &effect) { mEffect = effect; } - const std::string &getEffect() const { return mEffect; } + const std::string &getEffect() const + { return mEffect; } void setType(ItemType type) { mType = type; } @@ -250,7 +251,7 @@ class ItemInfo void setColorsList(std::string name); - bool isHaveColors() + bool isHaveColors() const { return !mColorList.empty(); } const std::string replaceColors(std::string str, |