diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-21 17:43:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-21 17:43:19 +0300 |
commit | e3ad003fe09ff90524ffa5deae844e6721b903b2 (patch) | |
tree | 756f8cae3ee12060548384ece6750a25bee4ab45 /src/item.h | |
parent | 4ab7d38fe9033695e23042e97b55999b26f00fd7 (diff) | |
download | mv-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.gz mv-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.bz2 mv-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.xz mv-e3ad003fe09ff90524ffa5deae844e6721b903b2.zip |
Set cards from net code.
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/item.h b/src/item.h index 13f34499b..15ea64a07 100644 --- a/src/item.h +++ b/src/item.h @@ -197,6 +197,9 @@ class Item notfinal void setCards(const int *const cards, const int size); + const int *getCards() const + { return mCards; } + int mId; /**< Item type id. */ unsigned char mColor; int mQuantity; /**< Number of items. */ |