Esempio n. 1
0
    internal virtual void Enter()
    {
        //Get current GameMode
        currentGameMode = JEngine.Instance.gameManager.GetCurrentGameMode;

        //Hide all Panels
        JEngine.Instance.uiManager.HideAllPanels();

        //Display requested Panels
        foreach(string panelName in panelToDisplay)
        {
            JEngine.Instance.uiManager.ShowPanel(panelName);
        }

        //Register Events
        RegisterForEvents();
    }
Esempio n. 2
0
    internal virtual void Enter()
    {
        //Get current GameMode
        currentGameMode = JEngine.Instance.gameManager.GetCurrentGameMode;

        //Hide all Panels
        JEngine.Instance.uiManager.HideAllPanels();

        //Display requested Panels
        foreach (string panelName in panelToDisplay)
        {
            JEngine.Instance.uiManager.ShowPanel(panelName);
        }

        //Register Events
        RegisterForEvents();
    }
Esempio n. 3
0
 internal void registerGameMode(JGameMode a_gameMode)
 {
     _currentGameMode = a_gameMode;
     _currentGameMode.Enter();
 }
Esempio n. 4
0
 internal void registerGameMode(JGameMode a_gameMode)
 {
     _currentGameMode = a_gameMode;
     _currentGameMode.Enter();
 }