A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. 2// See the LICENCE file in the repository root for full licence text. 3 4using System; 5using System.Linq; 6using osu.Framework.Platform; 7 8namespace osu.Framework.Tests 9{ 10 public static class Program 11 { 12 [STAThread] 13 public static void Main(string[] args) 14 { 15 bool benchmark = args.Contains(@"--benchmark"); 16 bool portable = args.Contains(@"--portable"); 17 18 using (GameHost host = Host.GetSuitableHost(@"visual-tests", portableInstallation: portable)) 19 { 20 if (benchmark) 21 host.Run(new AutomatedVisualTestGame()); 22 else 23 host.Run(new VisualTestGame()); 24 } 25 } 26 } 27}