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

public class LobbyPanelHandler : MonoBehaviour {


    public GameObject joinPanelHolder;
    public GameObject gameplayHolder;
    public GameObject lobbyHolder;
    public GameObject esportsLobby;
    public GameObject spectatorHolder;

    public void SetInLobbyPanelActive() {
        joinPanelHolder.SetActive(false);
        gameplayHolder.SetActive(true);
        lobbyHolder.SetActive(true);
        spectatorHolder.SetActive(false);
        esportsLobby.SetActive(false);
    }

    public void SetSpectatorPanelActive() {
        joinPanelHolder.SetActive(false);
        gameplayHolder.SetActive(false);
        lobbyHolder.SetActive(true);
        spectatorHolder.SetActive(true);
        esportsLobby.SetActive(false);
    }
}
