/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (SpacewarGame game = new SpacewarGame()) { game.Run(); } }
/// <summary> /// The main entry point for the application. /// </summary> static void Main() { #if WINDOWS || LINUX || PSM using (var game = new SpacewarGame()) game.Run(); #else var factory = new MonoGame.Framework.GameFrameworkViewSource <SpacewarGame>(); Windows.ApplicationModel.Core.CoreApplication.Run(factory); #endif }