summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 16:49:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 16:49:34 +0300
commitc5e89f9543fcf7cb86d54e51356865e7001b6977 (patch)
treef0c7cfabdd05772b05070f56b3d2601ad43e5bb4 /src/inventory.h
parent26a4a4ddfde04ae02964c434063d74d82e3a2143 (diff)
downloadmanaverse-c5e89f9543fcf7cb86d54e51356865e7001b6977.tar.gz
manaverse-c5e89f9543fcf7cb86d54e51356865e7001b6977.tar.bz2
manaverse-c5e89f9543fcf7cb86d54e51356865e7001b6977.tar.xz
manaverse-c5e89f9543fcf7cb86d54e51356865e7001b6977.zip
Add to inventory methods for cards.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inventory.h b/src/inventory.h
index be0f0aca9..4c9417db4 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -111,6 +111,10 @@ class Inventory final
const bool equipment,
const bool equipped);
+ void setCards(const int index,
+ const int *const cards,
+ const int size);
+
/**
* Remove a item from the inventory.
*/