ScummVM API documentation
MM::Xeen::InventoryItemsGroup Class Reference

Public Member Functions

 InventoryItemsGroup (Character *owner)
 
InventoryItemsoperator[] (ItemCategory category)
 
const InventoryItemsoperator[] (ItemCategory category) const
 
void breakAllItems ()
 
void curseUncurse (bool curse)
 
bool hasCursedItems () const
 

Member Function Documentation

◆ operator[]() [1/2]

InventoryItems& MM::Xeen::InventoryItemsGroup::operator[] ( ItemCategory  category)

Returns the inventory items for a given category

◆ operator[]() [2/2]

const InventoryItems& MM::Xeen::InventoryItemsGroup::operator[] ( ItemCategory  category) const

Returns the inventory items for a given category

◆ breakAllItems()

void MM::Xeen::InventoryItemsGroup::breakAllItems ( )

Breaks all the items in a given character's inventory

◆ curseUncurse()

void MM::Xeen::InventoryItemsGroup::curseUncurse ( bool  curse)

Curses or curses all the items

◆ hasCursedItems()

bool MM::Xeen::InventoryItemsGroup::hasCursedItems ( ) const

Returns true if the character has any cursed items


The documentation for this class was generated from the following file: