C# Class InventoryReport

Show file Open project: imann24/cs327-bestmobilegameever Class Usage Examples

Public Methods

Method Description
AddItemCollected ( string itemName ) : void
AddItemDestroyed ( string itemName ) : void
Get ( ) : object>.Dictionary
InventoryReport ( InventoryItem, inventoryItems ) : System.Collections.Generic
ToString ( ) : string

Private Methods

Method Description
getItemSummary ( InventoryItem, item ) : InventoryItemSummary,
overwriteDetailEntry ( string key, object value ) : void

Method Details

AddItemCollected() public method

public AddItemCollected ( string itemName ) : void
itemName string
return void

AddItemDestroyed() public method

public AddItemDestroyed ( string itemName ) : void
itemName string
return void

Get() public method

public Get ( ) : object>.Dictionary
return object>.Dictionary

InventoryReport() public method

public InventoryReport ( InventoryItem, inventoryItems ) : System.Collections.Generic
inventoryItems InventoryItem,
return System.Collections.Generic

ToString() public method

public ToString ( ) : string
return string