#include "GameLayoutWidget.h"
#include "Widgets/CommonActivatableWidgetContainer.h"
#include "Inventory/InventoryScreenWidget.h"
#include "Inventory/Wardrobe/WardrobeScreenWidget.h"
#include "Phone/PhoneScreenWidget.h"
#include "Menu/PauseMenuWidget.h"

void UGameLayoutWidget::OpenInventory()
{
	InventoryScreenWidget = WidgetStack->AddWidget<UInventoryScreenWidget>(InventoryScreenWidgetClass);
}

void UGameLayoutWidget::OpenWardrobe()
{
	WardrobeScreenWidget = WidgetStack->AddWidget<UWardrobeScreenWidget>(WardrobeScreenWidgetClass);
}

void UGameLayoutWidget::OpenPhone()
{
	PhoneScreenWidget = WidgetStack->AddWidget<UPhoneScreenWidget>(PhoneScreenWidgetClass);
}

void UGameLayoutWidget::OpenPauseMenu()
{
	PauseMenuWidget = WidgetStack->AddWidget<UPauseMenuWidget>(PauseMenuWidgetClass);
}
