ScummVM API documentation
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& Xeen::InventoryItemsGroup::operator[] ( ItemCategory  category)

Returns the inventory items for a given category

◆ operator[]() [2/2]

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

Returns the inventory items for a given category

◆ breakAllItems()

void Xeen::InventoryItemsGroup::breakAllItems ( )

Breaks all the items in a given character's inventory

◆ curseUncurse()

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

Curses or curses all the items

◆ hasCursedItems()

bool Xeen::InventoryItemsGroup::hasCursedItems ( ) const

Returns true if the character has any cursed items


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