This pull request changes the InventoryDisplay component to display an image of each inventory slot the items they hold. Currently not all functionality is implemented. Empty slots are displayed, but for non-empty slots (i.e. those with an item in them), there is currently just a placeholder item being displayed (functionality to retrieve the actual images of the items will be added later)
It also fixes some game crashing issues that were present in main. This is the main reason this pull request is being made right now.
Type of change
[x] Bug fix
[x] New feature
[x] This change requires a documentation update
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes
Description
This pull request changes the InventoryDisplay component to display an image of each inventory slot the items they hold. Currently not all functionality is implemented. Empty slots are displayed, but for non-empty slots (i.e. those with an item in them), there is currently just a placeholder item being displayed (functionality to retrieve the actual images of the items will be added later) It also fixes some game crashing issues that were present in main. This is the main reason this pull request is being made right now.
Type of change
Checklist: