HDB: Add Inventory getter-setter functions

This commit is contained in:
Nipun Garg 2019-06-25 09:25:58 +05:30 committed by Eugene Sandulenko
parent dc0ad525cd
commit 72ee6a2bc5

View File

@ -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;