diff options
author | Nipun Garg | 2019-06-25 09:25:58 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:00 +0200 |
commit | 72ee6a2bc5070ce1ee11b2732cabe601b702d6b8 (patch) | |
tree | 21052027b8ace42eb5dccfefb88c3f49938ffd53 /engines | |
parent | dc0ad525cdad76368689282aab3772e5a5e464b5 (diff) | |
download | scummvm-rg350-72ee6a2bc5070ce1ee11b2732cabe601b702d6b8.tar.gz scummvm-rg350-72ee6a2bc5070ce1ee11b2732cabe601b702d6b8.tar.bz2 scummvm-rg350-72ee6a2bc5070ce1ee11b2732cabe601b702d6b8.zip |
HDB: Add Inventory getter-setter functions
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index a099deeca2..815a1ef3a9 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -819,6 +819,21 @@ public: // Inventory Functions bool addToInventory(AIEntity *e); void clearInventory(); + int getInvAmount() { + return _numInventory; + } + int getGemAmount() { + return _numGems; + } + int getMonkeystoneAmount() { + return _numMonkeystones; + } + int getGooCupAmount() { + return _numGooCups; + } + void setGemAmount(int amt) { + _numGems = amt; + } // Player Variables bool _playerDead; |