public static async Task Main(params string[] args) { using var host = Host.GetSuitableHost("Qsor"); using var game = new QsorGame(args) { Updater = !DebugUtils.IsDebugBuild && RuntimeInfo.OS == RuntimeInfo.Platform.Windows ? new SquirrelUpdater() : null }; host.Run(game); }
private void Load(GameHost host) { var game = new QsorGame(); game.SetHost(host); Children = new Drawable[] { new Box { RelativeSizeAxes = Axes.Both, Colour = Color4.Black, }, game }; AddUntilStep("Wait for Load", () => game.IsLoaded); }