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:
@@ -84,4 +84,6 @@ bool MenuComponent::HandleOutsideDisabledButtonSelection(MenuComponent*disabledB
|
||||
|
||||
vf2d MenuComponent::GetPos(){
|
||||
return rect.pos;
|
||||
}
|
||||
}
|
||||
|
||||
void MenuComponent::OnInventorySlotsUpdate(ITCategory cat){}
|
||||
Reference in New Issue
Block a user