using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UIController : MonoBehaviour {

    [SerializeField]
    private UIMenuView menuView;
    public UIMenuView MenuView { get { return this.menuView; } }

    [SerializeField]
    private UIGameInfoView gameInfoView;
    public UIGameInfoView GameInfoView { get { return this.gameInfoView; } }

    [SerializeField]
    private UIGameplayView gameplayView;
    public UIGameplayView GameplayView { get { return this.gameplayView; } }

    [SerializeField]
    private UIGameOverView gameOverView;
    public UIGameOverView GameOverView { get { return this.gameOverView; } }

    [SerializeField]
    private UIBlackedView blackedView;
    public UIBlackedView BlackedView { get { return this.blackedView; } }


    public void PrepareUI () {

        this.BlackedView.ShowView();

        this.MenuView.HideViewInstantly();
        this.GameInfoView.HideViewInstantly();
        this.GameplayView.HideViewInstantly();
        this.GameOverView.HideViewInstantly();
    }
}
