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 osu.Framework; 6using osu.Framework.Platform; 7 8namespace SampleGame.Desktop 9{ 10 public static class Program 11 { 12 [STAThread] 13 public static void Main(string[] args) 14 { 15 using (GameHost host = Host.GetSuitableHost(@"sample-game")) 16 using (Game game = new SampleGameGame()) 17 host.Run(game); 18 } 19 } 20}