gamedev
Public Member Functions | Public Attributes | List of all members
Inventory Class Reference

Public Member Functions

 Inventory (unsigned int s)
 
int addItem (ITEM_ID id, unsigned char count)
 
int takeItem (ITEM_ID id, unsigned char count)
 
int useItem (void)
 
void setSelection (unsigned int s)
 
void draw (void)
 

Public Attributes

unsigned int sel
 
bool invOpen = false
 
bool invOpening = false
 
bool invHover = false
 
bool selected = false
 
bool mouseSel = false
 

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