summaryrefslogtreecommitdiff
path: root/src/itemcolormanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-19 23:04:05 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-20 01:48:03 +0300
commit9dfde677430ab0dc1c11807b2b0d9f76bab353bb (patch)
tree92907f9c9467cf798c2b6fa392df9eefaebf4898 /src/itemcolormanager.h
parent8462b9ae346a41a37b2790c3ea5f14f0e783ab71 (diff)
downloadmanaplus-9dfde677430ab0dc1c11807b2b0d9f76bab353bb.tar.gz
manaplus-9dfde677430ab0dc1c11807b2b0d9f76bab353bb.tar.bz2
manaplus-9dfde677430ab0dc1c11807b2b0d9f76bab353bb.tar.xz
manaplus-9dfde677430ab0dc1c11807b2b0d9f76bab353bb.zip
Add support for stored cards with sprites in Being.
Diffstat (limited to 'src/itemcolormanager.h')
-rw-r--r--src/itemcolormanager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/itemcolormanager.h b/src/itemcolormanager.h
index 8b778d149..61addf721 100644
--- a/src/itemcolormanager.h
+++ b/src/itemcolormanager.h
@@ -23,6 +23,8 @@
#include "enums/simpletypes/itemcolor.h"
+#include "resources/item/cardslist.h"
+
#include "localconsts.h"
class ItemColorManager final
@@ -32,6 +34,9 @@ class ItemColorManager final
static ItemColor getColorFromCards(const int *const cards)
A_WARN_UNUSED;
+
+ static ItemColor getColorFromCards(const CardsList &cards)
+ A_WARN_UNUSED;
};
#endif // ITEMCOLORMANAGER_H