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

            //window.LoadContent();

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

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