Пример #1
0
        public void Initialize()
        {
            _menuScreen = _.GUIManager.InitializeComponent <MainMenuScreen>();
            _menuScreen.Initialize(_.DataProvider.GameSettings.Select(s => s.Name));
            _menuScreen.OnStart += StartGame;
            _menuScreen.SetActive(true);

            IsInitialized = true;
        }
Пример #2
0
        static void Main(string[] args)
        {
            Console.Title         = GameSettings.Title;
            Console.CursorVisible = false;

            GuiUpdater.ShowCompanyNameScreen();
            GuiUpdater.ShowTitleScreen();

            MainMenuScreen menu = new MainMenuScreen();

            menu.Show();
        }