Files
osu-framework/SampleGame.Desktop/Program.cs
2022-11-16 19:12:44 +09:00

21 lines
548 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework;
using osu.Framework.Platform;
namespace SampleGame.Desktop
{
public static class Program
{
[STAThread]
public static void Main(string[] args)
{
using (GameHost host = Host.GetSuitableDesktopHost(@"sample-game"))
using (Game game = new SampleGameGame())
host.Run(game);
}
}
}