Refactor inventory window so the scrollable consumable window now subscribes to a listener.

Listener list system removes the arbitrary requirement of components needing to be called "inventory" (very error-prone)
This commit is contained in:
2023-10-18 16:06:08 +00:00
parent 04d6f42526
commit 46462a24e7
7 changed files with 116 additions and 46 deletions
+3 -1
View File
@@ -84,4 +84,6 @@ bool MenuComponent::HandleOutsideDisabledButtonSelection(MenuComponent*disabledB
vf2d MenuComponent::GetPos(){
return rect.pos;
}
}
void MenuComponent::OnInventorySlotsUpdate(ITCategory cat){}