Exemplo n.º 1
0
        public void Run(IGameWindow gameWindow, Action tickCallback)
        {
            gameWindow.Show();

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