Simple Inventory
For the most simple type of inventory - we need this functionality:
Data-storage: inventory items:
Data-Types: dictionary: key-value pairs: item / count
Read Data: As a single item, or iterate through a list of key-value pairs
Update: update counts for adding or removing items
Display items in an inventory view: items with label - count
Provide ways to 'use' inventory items
GameData - Inventory
inventory: Dictionary< PickupType, int >
Step 1: Create and Initialize Dictionary in GameData
Last updated