using Engine; using Serilog.Events; namespace PresenterConsole; internal static class Program { public static void Main(string[] parArgs) { var engine = new EngineBuilder() .Headless() .LogToFile(true, "log.txt") .LogLevel(LogEventLevel.Debug) .Presenter(parEngine => new ConsolePresenter(parEngine)) .InputHandler(_ => new ConsoleInputHandler()) .AssetFolder(Path.GetFullPath("./asset")) .DataFolder(Path.GetFullPath("./data")) .Build(); DoomDeathmatch.DoomDeathmatch.Initialize(engine); engine.Run(); } }