public void Initialize() { _menuScreen = _.GUIManager.InitializeComponent <MainMenuScreen>(); _menuScreen.Initialize(_.DataProvider.GameSettings.Select(s => s.Name)); _menuScreen.OnStart += StartGame; _menuScreen.SetActive(true); IsInitialized = true; }
static void Main(string[] args) { Console.Title = GameSettings.Title; Console.CursorVisible = false; GuiUpdater.ShowCompanyNameScreen(); GuiUpdater.ShowTitleScreen(); MainMenuScreen menu = new MainMenuScreen(); menu.Show(); }