import class InitialLoadingScreenLogicController extends ILoadingLogicController
{
	private editable var progressBarRoot : inkWidgetRef;
	private editable var progressBarController : weak< LoadingScreenProgressBarController >;

	private import function OnAnimReadyForLoadingSkip();

	protected event OnInitialize()
	{
		progressBarController = ( ( LoadingScreenProgressBarController )( inkWidgetRef.GetController( progressBarRoot ) ) );
	}

	protected export function SetProgressIndicatorVisibility( visible : Bool )
	{
		inkWidgetRef.SetVisible( progressBarRoot, visible );
	}

	protected function SetSpinnerVisiblility( visible : Bool )
	{
		progressBarController.SetSpinnerVisibility( visible );
	}

	protected export function SetLoadProgress( progress : Float )
	{
		progressBarController.SetProgress( progress );
	}

	protected event OnAnimReadyForLoadingSkipEvent()
	{
		OnAnimReadyForLoadingSkip();
	}

}

