Dungeon Crawler
Library for turn based RPG
Inventory Class Reference

Public Member Functions

 Inventory ()
 
void AddItem (Item item, int amount=1)
 
Item Item (string name)
 
void RemoveItem (Item item, int amount=1)
 

Static Public Member Functions

static Inventory operator+ (Inventory thisInventory, Inventory thatInventory)
 

Public Attributes

List< ItemItems
 
List< WeaponWeapons
 
List< ArmourArmours
 
Dictionary< string, int > Amounts
 

Constructor & Destructor Documentation

Inventory ( )
inline

Member Function Documentation

void AddItem ( Item  item,
int  amount = 1 
)
inline
Item Item ( string  name)
inline
void RemoveItem ( Item  item,
int  amount = 1 
)
inline
static Inventory operator+ ( Inventory  thisInventory,
Inventory  thatInventory 
)
inlinestatic

Member Data Documentation

List<Item> Items
List<Weapon> Weapons
List<Armour> Armours
Dictionary<string, int> Amounts

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