public void AddWindow(UIWindow window, PlayerIndex? controllingPlayer) { window.Manager = this; window.IsExiting = false; window.ControllingPlayer = controllingPlayer; //window.LoadContent(); mWindows.Add(window); }
public void RemoveWindow(UIWindow window) { //window.UnloadContent(); mWindows.Remove(window); mWindowsToUpdate.Remove(window); }