#include "ZeusFrontEndPlayerController.h"

#include "UIFrontEndFlowSubsystem.h"
#include "Engine/GameInstance.h"

AZeusFrontEndPlayerController::AZeusFrontEndPlayerController()
{
	bShowMouseCursor = true;
}

void AZeusFrontEndPlayerController::BeginPlay()
{
	Super::BeginPlay();

	SetInputMode(FInputModeUIOnly());

	if (const UGameInstance* GI = GetGameInstance())
	{
		if (UUIFrontEndFlowSubsystem* Flow = GI->GetSubsystem<UUIFrontEndFlowSubsystem>())
		{
			Flow->StartFrontEnd();
		}
	}
}
