Exemple #1
0
        /// <summary>
        /// Creates a <see cref="ManaWindow"/> and runs the game within it.
        /// </summary>
        public void Run()
        {
            using var window = new ManaWindow(_initializationParameters);

            Window = window;

            window.Run(this);
        }
Exemple #2
0
 /// <summary>
 /// Creates a <see cref="ManaWindow"/> and runs the game within it.
 /// </summary>
 public void Run()
 {
     using var window = new ManaWindow();
     Window           = window;
     window.Run(this);
 }