mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 15:33:23 +00:00
HDB: Add Inventory getter-setter functions
This commit is contained in:
parent
dc0ad525cd
commit
72ee6a2bc5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user