Esempio n. 1
0
        public void AddWindow(UIWindow window, PlayerIndex? controllingPlayer)
        {
            window.Manager = this;
            window.IsExiting = false;
            window.ControllingPlayer = controllingPlayer;

            //window.LoadContent();

            mWindows.Add(window);
        }
Esempio n. 2
0
        public void RemoveWindow(UIWindow window)
        {
            //window.UnloadContent();

            mWindows.Remove(window);
            mWindowsToUpdate.Remove(window);
        }