// Creates a window that encloses a map console // of a specified height and width // and displays a centered window title // make sure it is added as a child of the UIManager // so it is updated and drawn public void CreateMapWindow(int width, int height, string title) { MapWindow = new MapWindow(width, height, title); // The MapWindow becomes a child console of the UIManager Children.Add(MapWindow); // Add the map console to it MapWindow.CreateMapConsole(); // Without this, the window will never be visible on screen MapWindow.Show(); }