示例#1
0
        public void Run(IGameWindow gameWindow, Action tickCallback)
        {
            gameWindow.Show();

            while (NextFrame(gameWindow))
            {
                tickCallback();
            }
        }
示例#2
0
 /// <summary>
 ///     Shows the main window.
 /// </summary>
 public void ShowMainWindow()
 {
     _mainWindow.Show();
 }